Cuff System Warning ! help fast please
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
[..]
- The else statement will always get executed and the code will stop there if everything is alright (correct id, not in vehicle etc.) and will never execute the code to freeze and actually cuff the player.

[..]

PHP код:
// Modify "..EXPRESSION_HERER.." with what you need. In example, player not being a cop.
if (..EXPRESSION_HERE..) return SendClientMessage(playerid0xC0C0C0FF"You dont have permisson to access this command."); 
I wrote in the command that you have modify it and add an expression like the player is not a police officer or whatever. That was your code so you had it there for a reason. If you don't want it then remove it but I'm pretty sure you don't want random players to use the command.
Reply


Messages In This Thread
Cuff System Warning ! help fast please - by MarkNelson - 25.06.2016, 12:21
Re: Cuff System Warning ! help fast please - by EclipseWho - 25.06.2016, 12:25
Re: Cuff System Warning ! help fast please - by MarkNelson - 25.06.2016, 12:26
Re: Cuff System Warning ! help fast please - by Konstantinos - 25.06.2016, 13:13
Re: Cuff System Warning ! help fast please - by MarkNelson - 25.06.2016, 13:18
Re: Cuff System Warning ! help fast please - by Konstantinos - 25.06.2016, 13:24
Re: Cuff System Warning ! help fast please - by MarkNelson - 25.06.2016, 13:32
Re: Cuff System Warning ! help fast please - by Konstantinos - 25.06.2016, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)