Command for FBI
#1

Hi, I was asking about how to make a gate that only usable by FBI members and not anybody else? this server have a lot of factions, LSPD, NG, FBI, etc, but how to make it only usable by FBI?
Reply
#2

If there is any other gates in the GM you could check how that one is made and learn by that.
What GM are you using?
Reply
#3

Most likely you have an enum defining what faction a player is in. Use the variable like this
pawn Код:
if(pData[playerid][pFaction] == FBI) // Change FBI with the actual number of the faction
Put that in the command that opens the gate you want to limit to FBI only.
Reply
#4

Thank you very much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)