Team Errors. Please help!
#1

Код:
C:\Users\Mace\Desktop\LS Gang Wars\gamemodes\Gang_Wars_LS.pwn(58) : error 017: undefined symbol "SetPlayerTeamFromClass"
C:\Users\Mace\Desktop\LS Gang Wars\gamemodes\Gang_Wars_LS.pwn(181) : error 017: undefined symbol "SetPlayerToTeamColour"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerTeamFromClass(playerid, classid) // Line 58
   {
    	if(classid == 0)
    	{
        	gTeam[playerid] = GROVE;
        	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
		SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
		SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    	}
Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerToTeamColour(playerid) // Line 181
    {
    	if(gTeam[playerid] == GROVE)
    	{
                 SetPlayerColor(playerid, GROVE_COLOUR);
    	}
I was following a tutorial and these are the errors I got.
Reply


Messages In This Thread
Team Errors. Please help! - by Th3UnKnOwN - 29.12.2014, 20:32
Re: Team Errors. Please help! - by SickAttack - 29.12.2014, 20:42
Re: Team Errors. Please help! - by Th3UnKnOwN - 29.12.2014, 20:51
Re: Team Errors. Please help! - by SickAttack - 29.12.2014, 21:28
Re: Team Errors. Please help! - by ikkentim - 29.12.2014, 22:43
Re: Team Errors. Please help! - by Th3UnKnOwN - 02.01.2015, 03:44
Re: Team Errors. Please help! - by UploaD - 02.01.2015, 05:23

Forum Jump:


Users browsing this thread: 1 Guest(s)