Thread: Text Writer!
View Single Post
  #4  
Old 03-08-2002, 10:18 AM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
NPC Code:

timereverywhere;
if (playertouchsme) {
toweapons Text npc;
timeout = .05;
this.on=0;
}
if (playerchats && startswith(text:,#c) && this.on==1) {
setstring this.newtext,#n:#e(1,-1,#c);
setplayerprop #c,;
}
if (timeout && this.on=1) {
showimg 555,@Arial@cb@#s(this.newtext),(screenwidth/2-40),(screenheight/2-60);
}
if (weaponfired) {
if (this.on=1) {
this.on=0;
hideimg 555;
} else if (this.on=0) this.on=1;
}


Might work, but then again, might not...
Reply With Quote