14.08.2012, 15:45
Hi!
My array is defined with:
When player disconnect, I want to reset the Player[playerid] array to default values.
The following code does NOT work.
How can I do this?
My array is defined with:
pawn Код:
enum PlayerData
{
pString[64],
bool: pLogged,
pTime,
.
.
.
}
new Player[MAX_PLAYERS][PlayerData];
The following code does NOT work.
pawn Код:
for(new i;i < sizeof(PlayerData);i++)
{
Player[playerid][i] = 0;
}

