OnPlayerSpawn Compiling error
#6

pawn Код:
//AFTER I ADDED THE       /*>>>>if(class[playerid] == 0)<<<<*/, check compiling error
public OnPlayerDeath(playerid)
{
    if(Class[playerid] == 0)
    {
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,2004.93,1544.25,13.59);
        SetPlayerFacingAngle(playerid,270.0);
        SetPlayerToTeamColour(playerid);
        SetPlayerTeamFromClass(playerid, classid);
        GivePlayerMoney(playerid,-100);
   }
   //will add things of cops and army later.
   return 1;
}
New compiling error
pawn Код:
D:\SAMP\Server\SACNC\gamemodes\SACNC.pwn(88) : error 017: undefined symbol "classid"
D:\SAMP\Server\SACNC\gamemodes\SACNC.pwn(101) : error 017: undefined symbol "classid"
D:\SAMP\Server\SACNC\gamemodes\SACNC.pwn(105) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Help dudes?
Reply


Messages In This Thread
OnPlayerSpawn Compiling error - by _Khaled_ - 12.07.2012, 01:10
Re: OnPlayerSpawn Compiling error - by CmZxC - 12.07.2012, 01:11
Re: OnPlayerSpawn Compiling error - by _Khaled_ - 12.07.2012, 01:25
Re: OnPlayerSpawn Compiling error - by CmZxC - 12.07.2012, 01:31
Re: OnPlayerSpawn Compiling error - by _Khaled_ - 12.07.2012, 01:37
Re: OnPlayerSpawn Compiling error - by _Khaled_ - 12.07.2012, 01:44
Re: OnPlayerSpawn Compiling error - by Tuntun - 12.07.2012, 01:47
Re: OnPlayerSpawn Compiling error - by _Khaled_ - 12.07.2012, 01:49
Re: OnPlayerSpawn Compiling error - by Tuntun - 12.07.2012, 01:51
Re: OnPlayerSpawn Compiling error - by _Khaled_ - 12.07.2012, 01:56

Forum Jump:


Users browsing this thread: 4 Guest(s)