View Single Post
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 03-13-2018 , 05:29   Re: What am I doing wrong?
Reply With Quote #6

Quote:
Originally Posted by Tank_in_Pink View Post
Why ''MAXPLAYRRS+1'' / what does is affect?
When you're creating a variable that stores client data you want to make sure that it can fit all the cilents. If you make the size only 32 players for example and you get 33 players on your server then you will get issues since their are more players than slots in your array.
MAXPLAYERS is simply a constant provided by sourcemod that translates into the maximum number of players that you can have on the server.

Quote:
Originally Posted by Tank_in_Pink View Post
What does ''IsValidClient'' mean?
IsValidClient is a function that 1337norway made to ensure that when he does some action with a client that they aren't in some weird state. ie. if the player is still connecting you don't want to do any of this stuff, or if the player is some GOTV bot you don't want to apply that action to them either. You should look at the function definition to see what exactly it does.
hmmmmm is offline