09.11.2011, 04:59
Hello guys, i'm getting some errors here
i don't think somethings wrong here
anyone know what the problem?
pawn Код:
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(330) : error 001: expected token: ")", but found "-integer value-"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(330) : warning 215: expression has no effect
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(330) : error 001: expected token: ";", but found ")"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(330) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(330) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == Teams 1);
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 0870,1815.6981,10.8203,193);
return 1;
}
else if(gTeam[playerid] == Team 2);
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 3330,1861.1024,17.9259,116);
return 1;
}