Undefined Symbol.
#2

Because you should be searching for stocks, not defines. I'm off to bed here in a few, so I can't provide the best of an explanation, but you can shoot me a PM and I'll get back to you in the morning.

I took the joy of having a quick snoop through the script you're editing, and wildly enough found these:
pawn Код:
stock IsAReporter(playerid)
{
    if(PlayerInfo[playerid][pFac] == 4) return 1;
    return 0;
}

stock IsACop(playerid)
{
    if(PlayerInfo[playerid][pFac] == 1) return 1;
    return 0;
}

stock IsAGov(playerid)
{
    if(PlayerInfo[playerid][pFac] == 2) return 1;
    return 0;
}

stock IsAHitman(playerid)
{
    if(PlayerInfo[playerid][pFac] == 3) return 1;
    return 0;
}
To cut to the chase, you should replicate these and adjust the ID to fit your needs. For example:
(it is safe to use these, simply edit the names to your new faction names and place this anywhere in your script)
pawn Код:
stock IsANG(playerid)
{
    if(PlayerInfo[playerid][pFac] == 5) return 1;
    return 0;
}

stock IsAFireFighter(playerid)
{
    if(PlayerInfo[playerid][pFac] == 6) return 1;
    return 0;
}

stock IsAMercenary(playerid)
{
    if(PlayerInfo[playerid][pFac] == 7) return 1;
    return 0;
}
Reply


Messages In This Thread
Undefined Symbol. - by iHaze. - 28.09.2012, 05:23
Re: Undefined Symbol. - by zDevon - 28.09.2012, 05:46
Re: Undefined Symbol. - by razor steven - 28.09.2012, 05:47
Re: Undefined Symbol. - by zDevon - 28.09.2012, 05:49
Re: Undefined Symbol. - by iHaze. - 28.09.2012, 05:56

Forum Jump:


Users browsing this thread: 1 Guest(s)