Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-17-2001, 12:02 AM
ArmadeusWarlock ArmadeusWarlock is offline
Registered User
Join Date: Jun 2001
Posts: 373
ArmadeusWarlock is on a distinguished road
Police Script

Something is wrong, its all screwed up and wont set the server string, it wont even respond to me. And yes, this does work offline, [edit]with[/edit] the account stuff and everything, because it would work earlier but now it wont. HELP!

Quote:
// Graal2001 NPC by Stefan Knorr
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head1.gif;
setcharprop #C0,orange;
setcharprop #C1,red;
setcharprop #C2,darkred;
setcharprop #C3,red;
setcharprop #C4,pink;
setcharprop #n,Police (Test);
setcharprop #2,noshield.gif;
shieldpower = 1;
dir = 2;
this.jailing=0;
}

if(#a=Reese_2001||#a=ArmadeusWarlock||#g=GP&&this. jailing=0){
if(strequals(#c,reset)){
this.jailing=0;
}
if(strequals(#c,Jail Player)){
message Account Name?;
setplayerprop #c,;
this.jailing=1;
}
if(this.jailing=1&&playerchats&&!strequals(#c,jail player)){
setstring server.mostwanted,#c;
sleep 0.01;
message The player has been jailed/will be jailed when he returns online!;
this.jailing=0;
}
}
this doesnt jail the people, but i know how to do that with this script, so pleas,e tell me why it wont set the strings?

Last edited by ArmadeusWarlock; 09-17-2001 at 12:04 AM..
Reply With Quote
 


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 04:59 AM.


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