*** This topic title is not descriptive.
#2

u should add something new like, so any player in certain factions ftype will b 1 and will be a cop
PHP код:
pFType(faction type
pawn Код:
stock IsACop(playerid)
{
    if(PlayerInfo[playerid][pFType] = 1) return 1;
    return 0;
}
or u can use "or"
pawn Код:
stock IsACop(playerid)
{
    if(PlayerInfo[playerid][pFac] = 1||PlayerInfo[playerid][pFac] = 2) return 1;
    return 0;
}
Reply


Messages In This Thread
*** This topic title is not descriptive. - by Laure - 07.11.2012, 03:10
Re: Stock Help. - by Glad2BeHere - 07.11.2012, 03:14
Re: Stock Help. - by Laure - 07.11.2012, 03:28
Re: Stock Help. - by cosbraa - 07.11.2012, 06:10

Forum Jump:


Users browsing this thread: 2 Guest(s)