19.01.2014, 10:52
I Changed Faction name From Taxi Cab Company to SHAFT And I want to add the SHAFT Faction [ID 10] To IsACop
How can I Change it.
How can I Change it.
IsACop(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pFaction];
if(member==1 || member==2 || member == 10)
{
return 1;
}
else if(leader==1 || leader==2 || leader == 10)
{
return 1;
}
}
return 0;
}
Alright I'm going to play "guess the code"
pawn Код:
I added member == 10 and leader ==10 which you need. |