/jail command help :-/
#1

Can someone make me /jail [ID] [Minutes] command example....I wanna when player dissconnect and connect again to put him in jail if he jailed so please help me tnx
Reply
#2

Here it is: http://pastebin.com/65CcE5Ki
Don't forget to download Dini, sscanf2 and zcmd includes.

Nonameman
Reply
#3

yep nonameman is right but you just need to put when you put jail and he gets jailed put playerinfojailed = 1
then onplayerconnect if playerinfojailed = 1 sendclientmessage you are in jailed you cant get out
_______________________
1-3$ fix warnings 1-5$fix errors
6-15$ make gamemodes(not roleplay) 3-10$ make filterscripts-scriptfiles
Dont ASK! me RolePlay questions
www.mefreeroam.tk
Reply
#4

Ye, my version is for a gamemode where no accounts are used. But if you use an account system, put the 'jailed' variable into a playerinfo's enum.
Reply
#5

well he did ask when they connect if they are jailed it sends them to jail but yeh your is a good basic one you just need to add playerinfo's but nice ja'b lolz
_______________________
1-3$ fix warnings 1-5$fix errors
6-15$ make gamemodes(not roleplay) 3-10$ make filterscripts-scriptfiles
Dont ASK! me RolePlay questions
www.mefreeroam.tk
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)