Can you see this
#2

Simply add a new line saying if the player is not in the faction. Add this after you check that the player typed /openb and /closeb, example:

pawn Код:
if(strcmp(cmd // ......
if(PlayerInfo[playerid][pFaction] != X) /* != means not equal to, and the X is where you put your faction number */ return /* by returning a value here it stops the code from going further */ SendClientMessage(playerid // .....
Reply


Messages In This Thread
Can you see this - by Dezzzy - 31.10.2014, 11:58
Re: Can you see this - by DanishHaq - 31.10.2014, 12:04
Re: Can you see this - by Dezzzy - 31.10.2014, 12:34
Re: Can you see this - by dominik523 - 31.10.2014, 12:45
Re: Can you see this - by Dezzzy - 31.10.2014, 12:47
Re: Can you see this - by dominik523 - 31.10.2014, 12:48
Re: Can you see this - by Dezzzy - 31.10.2014, 13:00
Re: Can you see this - by silenthill - 31.10.2014, 13:02
Re: Can you see this - by Dezzzy - 31.10.2014, 13:23
Re: Can you see this - by Quickie - 31.10.2014, 13:35

Forum Jump:


Users browsing this thread: 1 Guest(s)