18.04.2010, 16:46
Hehy I got this
new pStats[MAX_PLAYERS][Player] (Player is the enum)
How I can set all those things to 0 for a player when he connect?
Something like:
for(new i=0; i<sizeof(pStats); i++) { pStats[playerid][i] = 0; }
but that doesn't work.
new pStats[MAX_PLAYERS][Player] (Player is the enum)
How I can set all those things to 0 for a player when he connect?
Something like:
for(new i=0; i<sizeof(pStats); i++) { pStats[playerid][i] = 0; }
but that doesn't work.