Help plz fast
#1

Hi

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);
	}
}
i get these errors :

Код:
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??
Reply


Messages In This Thread
Help plz fast - by [cA]Unforseen - 11.02.2010, 13:46
Re: Help plz fast - by Deat_Itself - 11.02.2010, 14:01

Forum Jump:


Users browsing this thread: 1 Guest(s)