Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-27-2001, 08:21 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Exclamation 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
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.