21.01.2010, 14:00
pawn Код:
C:\Program Files\Rockstar Games\GTA San Andreas\sa-mp\gamemodes\gamemode.pwn(305) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\sa-mp\gamemodes\gamemode.pwn(313) : error 017: undefined symbol "classid"
C:\Program Files\Rockstar Games\GTA San Andreas\sa-mp\gamemodes\gamemode.pwn(317) : error 017: undefined symbol "classid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
pawn Код:
if(GetPlayerTeam(playerid) == 1) SetPlayerColor(playerid, TEAM_POLICESF_COLOR);
else if(GetPlayerTeam(playerid) == 2) SetPlayerColor(playerid, TEAM_CROOKSF_COLOR);
else if(GetPlayerTeam(playerid) == 3) SetPlayerColor(playerid, TEAM_MEDICSF_COLOR);
pawn Код:
if(GetPlayerTeam(playerid) == TEAM_POLICESF) SetPlayerColor(playerid, TEAM_POLICESF_COLOR);
else if(GetPlayerTeam(playerid) == TEAM_CROOKSF) SetPlayerColor(playerid, TEAM_CROOKSF_COLOR);
else if(GetPlayerTeam(playerid) == TEAM_MEDICSF) SetPlayerColor(playerid, TEAM_MEDICSF_COLOR);
EDIT: Wait ive been putting them in completly the wrong place, Hold on