@hlev, this is not an array and may confuse people. I'm sure you are aware and it is just a typo.
PHP Code:
new g_MaxPlayers; // Global array which will hold the numer of max players
g_MaxPlayers = get_maxplayers(); // Get max players and store it in our array
Quote:
Originally Posted by fysiks
@Snow & HleV
I think you both will get runtime errors for checking the team of an empty slot.
(I always get runtime errors for checking the team of empty slots)
|
In that case, an is_user_connected() will also be in order.
__________________