26.11.2011, 02:23
Can someone tell me what's the difference between:
and
which one is better?
Код:
pinfo[MAX_PLAYERS][3]; OnPlayerConnect(playerid) { pinfo[playerid][0] = 0; pinfo[playerid][1] = 0; pinfo[playerid][2] = 0; return 1; }
Код:
pinfo[MAX_PLAYERS][3]; OnPlayerConnect(playerid) { for(new x = 0; x < 3; x++) { pinfo[playerid][x] = 0; } return 1; }