public UnLoadPlayerVariables(playerid) { for(new i = 0; i < sizeof(Players[playerid][pInfo]); i++) //661 { } return 1; }
enum pInfo { score, bankcash, banned, adminlevel, regularplayer, robrank, armyaccess, id }; new Players[MAX_PLAYERS][pInfo];
C:\Program Files\Rockstar Games\GTA San Andreas\server\gamemodes\debug.pwn(661) : error 001: expected token: "]", but found "-identifier-" C:\Program Files\Rockstar Games\GTA San Andreas\server\gamemodes\debug.pwn(661) : error 029: invalid expression, assumed zero C:\Program Files\Rockstar Games\GTA San Andreas\server\gamemodes\debug.pwn(661) : error 029: invalid expression, assumed zero C:\Program Files\Rockstar Games\GTA San Andreas\server\gamemodes\debug.pwn(661) : fatal error 107: too many error messages on one line
public UnLoadPlayerVariables(playerid)
{
for(new i = 0; i < sizeof(Players[playerid][pInfo]; i++)) //661
{
}
return 1;
}
public UnLoadPlayerVariables(playerid)
{
for(new i = 0; i < sizeof(Players[]); i++) //661
{
Players[playerid][pInfo:i] = 0;
}
return 1;
}
public UnLoadPlayerVariables(playerid)
{
for(new i = 0; pInfo:i < pInfo; i++) //661
{
Players[playerid][pInfo:i] = 0;
}
return 1;
}
public UnLoadPlayerVariables(playerid) { for(new i = 0; pInfo:i < pInfo; i++) //661 { Players[playerid][pInfo:i] = 0; return 1; } return 0; }
Originally Posted by Rk_
remove the return 1; in the loop , else it cn block the loop.
|