11.02.2010, 13:46
Hi
i was trying to make Teams in my gamemod but when i try to make a command :
i get these errors :
any help??
i was trying to make Teams in my gamemod but when i try to make a command :
Код:
SetPlayerToTeamColor(playerid) { if (gTeam[playerid] == TEAM_GROVE) { SetPlayerColor(playerid, TEAM_GROVE_COLOR); } else if (gTeam[playerid] == TEAM_BALLAS) { SetPlayerColor(playerid, TEAM_BALLAS_COLOR); } }
Код:
D:\Samp\gamemodes\GangWar.pwn(435) : error 017: undefined symbol "SetPlayerToTeamColor" D:\Samp\gamemodes\GangWar.pwn(439) : error 017: undefined symbol "g" D:\Samp\gamemodes\GangWar.pwn(439) : error 029: invalid expression, assumed zero D:\Samp\gamemodes\GangWar.pwn(439) : warning 215: expression has no effect D:\Samp\gamemodes\GangWar.pwn(443) : error 017: undefined symbol "r" D:\Samp\gamemodes\GangWar.pwn(443) : error 029: invalid expression, assumed zero D:\Samp\gamemodes\GangWar.pwn(443) : warning 215: expression has no effect
any help??