15.11.2011, 06:17
Hi im looking for a script request kinda like this [ame]http://www.youtube.com/watch?v=4RRAVsdsSdA&feature=related[/ame] well exact same but what would i do so its faction restricted command?
well exact same but what would i do so its faction restricted command?
|
if(PlayerInfo[playerid][pFaction] == 1) // If the player is in Faction 1.
{
//Your code here
}
You have to make a check if the player's faction is in the correct faction you want. If you use godfather, I assume it uses something like PlayerInfo[playerid][pFaction].
pawn Код:
|