![]() |
Help with a jailing thing
Ok, I'm editing this from a handcuff thing where you say handcough account name and it freezes the player, I'm trying to make this into a jailing thing but I'm not having any luck, here's what I have so far.
for the jailer: if (playertouchsme){ toweapons Jailer; } if (isweapon) { if (playerchats) { if (strequals(#c,jail account)&&this.action=0) { setplayerprop #c,Enter Account Name; sleep .5; this.action=1; } if (this.action=1&&playerchats) { setstring server.jailaccount,#c; setstring server.unjailaccount,; sleep .5; this.action=0; } } } and in the system: if (strcontains(#s(server.unjailaccount),#a)) enabledefmovement; setlevel2 main.graal,1,1; }else{ timeout = .05; } if (timeout){ if (strcontains(#s(server.jailaccount),#a)) disabledefmovement;setlevel2 jail.graal,1,1;}else{ timeout = .05; } any help would be appreciated |
would'nt it be strequals not strcontains?
|
jailing
This is what I use for all my jailing needs ....
this on NPC Character: NPC Code: this on System NPC: NPC Code: |
Re: Help with a jailing thing
Quote:
http://geocities.com/thashadowsgraal/ I think thats the addy -Freaky- |
?
:confused:
I've never seen that site plus the link doesn't work, it might be similar but most jail scripts probably are, there can't be that many different ways to do it, some servers probably just use the rc to jail the person |
RC is the best way. Doesn't need npcserver, doesn't fiddle with serverstrings...just sets level and x/y.
|
| All times are GMT +2. The time now is 02:13 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.