How would I go about making it so spectators get only a fraction of pointshop points that active players do?
I am running a murder server and a lot of people go into spectator mode overnight for more points.
Regular users get 10 per 5 minutes,
and I'm hoping to make it so spectators get 3 per 5 minutes.
Go find where it handles giving pointshop points, this can be done via ctrl+f and a little bit of thinking
Then essentially do
[quote]
if ply:Team() != TEAM_SPECTATOR then
--CODE HERE
end
[/quote]
It may not actually use ply, but that's the gist of it.
[QUOTE=NiandraLades;46174253]Go find where it handles giving pointshop points, this can be done via ctrl+f and a little bit of thinking
Then essentially do
It may not actually use ply, but that's the gist of it.[/QUOTE]
I don't actually code lua at all, but this is most definitely a start. Thank you for your help, it's appreciated. ;)
Sorry, you need to Log In to post a reply to this thread.