12.03.2012, 17:15
Quote:
C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(1369) : error 017: undefined symbol "HasDied" C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(1369) : warning 215: expression has no effect C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(1369) : error 001: expected token: ";", but found "]" C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(1369) : error 029: invalid expression, assumed zero C:\Users\Luca\Desktop\BaseScript\gamemodes\base.pw n(1369) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerColor(playerid, COLOR_GREY);
SetPlayerPos(playerid, -88.0029, 1222.8109, 19.7422);
SetPlayerInterior(playerid, 0);
TogglePlayerClock(playerid, 1);
SetPlayerVirtualWorld(playerid, 0);
if(HasDied[playerid] == 1)
{
SetPlayerPos(id, -2208.3994140625, -2329.599609375, 30.200000762939);
}
return 1;
}