Quote:
Originally Posted by nikhilgupta345
You justt LOVE using static right
Got a question, does maxplayers just get hte max amount of players that are allowed int he server or the amount of players in the server at the moment?
Because I usuallly use get_players
|
Regarding static i will say that they are faster and act more like a global variable because they are only created once as you can see in the above code
And regarding max players, get_maxplayers() returns the maximum slots on the server and you can store this value as a global during plugin start since the to change the max player setting you need to restart your server

AND plz dont use get_players( ... ) bcoz it is resource ful and difficult
__________________