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?