30.11.2011, 13:51
hi,
im just curious if there would be lag possible if i have to reset, lets say about 200 variables to 0 under OnPlayerConnect?
Im refering to [MAX_PLAYERS] variables here. (Cause it had to be performed everytime a player connects)
Lets say the server has a max. capacity of 100 player slots.
Or am i just out of mind?
thx in advance
example:
im just curious if there would be lag possible if i have to reset, lets say about 200 variables to 0 under OnPlayerConnect?
Im refering to [MAX_PLAYERS] variables here. (Cause it had to be performed everytime a player connects)
Lets say the server has a max. capacity of 100 player slots.
Or am i just out of mind?
thx in advance
example:
pawn Код:
new variable[MAX_PLAYERS];
//OnPlayerConnect
variable[playerid]=0;