How would i do this?
#5

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.
Wouldnt like this work because its only to set the players color

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);
Or

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);
Or something like that

EDIT: Wait ive been putting them in completly the wrong place, Hold on
Reply


Messages In This Thread
How would i do this? - by JoeDaDude - 21.01.2010, 13:47
Re: How would i do this? - by Correlli - 21.01.2010, 13:50
Re: How would i do this? - by JoeDaDude - 21.01.2010, 13:52
Re: How would i do this? - by Correlli - 21.01.2010, 13:53
Re: How would i do this? - by JoeDaDude - 21.01.2010, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)