Undefined symbol
#1

My script
pawn Код:
CMD:XXXXXX (playerid, params[])
    {
    if(pVariable=0;
    {
    return 0;
 }
    if(IsPlayerInRangeOfPoint(playerid,XXXXXXXXXXXXX))
    {
    SendClientMessage(playerid, 0xFFFFFFFF, "XXXXXXXXXXXXXX");
    DestroyPlayerObject(playerid, XXXXX);
    CreatePlayerObject(XXXXXXXXXXXXXXXXX);
    CreatePlayerObject(XXXXXXXXXXXXXXXXX);
    CreatePlayerObject(XXXXXXXXXXXXXXXXX);
    CreatePlayerObject(XXXXXXXXXXXXXXXXX);
    CreatePlayerObject(XXXXXXXXXXXXXXXXX);
    }
    return 1;
    }
}
Код:
C:\Users\Scripting.Ash-PC\Desktop\Roleplay\filterscripts\xxx.pwn(245) : error 017: undefined symbol "pVariable"
C:\Users\Scripting.Ash-PC\Desktop\Roleplay\filterscripts\xxx.pwn(245) : warning 215: expression has no effect
C:\Users\Scripting.Ash-PC\Desktop\Roleplay\filterscripts\xxx.pwn(252) : error 017: undefined symbol "pVariable"
C:\Users\Scripting.Ash-PC\Desktop\Roleplay\filterscripts\xxxr.pwn(252) : warning 215: expression has no effect
C:\Users\Scripting.Ash-PC\Desktop\Roleplay\filterscripts\xxx.pwn(256) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Anyone able to help me with these errors? Kind of confused as i have defined the variable..

new pVariable=0;

edit - Edited code/errors as i fixed 1 of the errors
Reply


Messages In This Thread
Undefined symbol - by Lz - 04.12.2012, 19:16
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:28
Re: Undefined symbol - by Cxnnor - 04.12.2012, 19:29
Re: Undefined symbol - by Bakr - 04.12.2012, 19:29
Re: Undefined symbol - by Lz - 04.12.2012, 19:30
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:33
Re: Undefined symbol - by Lz - 04.12.2012, 19:36
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:41
Re: Undefined symbol - by Lz - 04.12.2012, 19:48
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)