I was wondering if any of you know a little if statement basically like
if !injail then
So basically this command I have I want it to work only when not in jail.
DarkRP!
Please help, If you know where I can find please tell.
[lua]ply:isArrested()[/lua]
Next time use the darkrp help thread or problems that don't need their own thread..
Your welcome
[url]http://wiki.darkrp.com/index.php/Functions/player/shared/isarrested[/url]
Use this to check if the player is arrested before executing the command.
Edit:
ninja'd
[QUOTE=ZombieWizzard;44102032][lua]ply:isArrested()[/lua]
Next time use the darkrp help thread or don't need own thread..
Your welcome[/QUOTE]
Dude thanks, You've helped ALOT!
[editline]2nd March 2014[/editline]
[QUOTE=Jeezy;44102038][url]http://wiki.darkrp.com/index.php/Functions/player/shared/isarrested[/url]
Use this to check if the player is arrested before executing the command.
Edit:
ninja'd[/QUOTE]
Lol he beat you to it :D Thanks anyway
[QUOTE=PabloSky11400;44102039]Dude thanks, You've helped ALOT!
[editline]2nd March 2014[/editline]
Lol he beat you to it :D Thanks anyway[/QUOTE]
No problem, mark this as solved now :)
Lol i'm new to facepunch. How do I do it?
This is awkward:D
Sorry, you need to Log In to post a reply to this thread.