28.12.2011, 17:08
Can help me somebody with this errors?
fRP_core.pwn(204) : error 017: undefined symbol "OnDuty"
fRP_core.pwn(216) : error 017: undefined symbol "pLeader"
fRP_core.pwn(21 : error 017: undefined symbol "FactionSkin"
fRP_core.pwn(220) : error 017: undefined symbol "pLeader"
fRP_core.pwn(222) : error 017: undefined symbol "FactionSkin"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
And this is the lines from 204 to 222.
if(Pi[OnDuty] == 0)
{
if(Pi[Spawn])
{
Send:2(playerid,"LS nu este disponibil");
SetSpawnInfo(playerid,0,Pi[skin],X,Y,Z,0,0,0,0,0,0,0);
}else
{
SetSpawnInfo(playerid,0,Pi[skin],X,Y,Z,0,0,0,0,0,0,0);
}
}else
{
if(Pi[pLeader] == 1 && Pi[pMember] == 1)
{
SetSpawnInfo(playerid,0,Pi[FactionSkin],2340.6997,2456.0303,14.9688,0,0,0,0,0,0,0);
}
if(Pi[pLeader] == 0 && Pi[pMember] == 0)
{
SetSpawnInfo(playerid,0,Pi[FactionSkin], 2345.6997,2456.0303,84.9688,0,0,0,0,0,0,0);
fRP_core.pwn(204) : error 017: undefined symbol "OnDuty"
fRP_core.pwn(216) : error 017: undefined symbol "pLeader"
fRP_core.pwn(21 : error 017: undefined symbol "FactionSkin"
fRP_core.pwn(220) : error 017: undefined symbol "pLeader"
fRP_core.pwn(222) : error 017: undefined symbol "FactionSkin"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
And this is the lines from 204 to 222.
if(Pi[OnDuty] == 0)
{
if(Pi[Spawn])
{
Send:2(playerid,"LS nu este disponibil");
SetSpawnInfo(playerid,0,Pi[skin],X,Y,Z,0,0,0,0,0,0,0);
}else
{
SetSpawnInfo(playerid,0,Pi[skin],X,Y,Z,0,0,0,0,0,0,0);
}
}else
{
if(Pi[pLeader] == 1 && Pi[pMember] == 1)
{
SetSpawnInfo(playerid,0,Pi[FactionSkin],2340.6997,2456.0303,14.9688,0,0,0,0,0,0,0);
}
if(Pi[pLeader] == 0 && Pi[pMember] == 0)
{
SetSpawnInfo(playerid,0,Pi[FactionSkin], 2345.6997,2456.0303,84.9688,0,0,0,0,0,0,0);