25.08.2012, 15:05
It depends what function you're using it on. If you're using it on OnPlayerConnect, then yes it will work with HnRAvailable[playerid] = 1;
If you're using it in a completely different, or non-public function, then you will need to use:
i = 0, because the server starts with ID 0 by default, not ID 1.
If you're using it in a completely different, or non-public function, then you will need to use:
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { HnRAvailable[i] = 1; }