Thread: Text Writer!
View Single Post
  #7  
Old 03-08-2002, 10:18 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Ahhhhh, I am bored, all you want it to do is broadcast it to all players? or just the player who says it? I'll do it as though you want everyone to see it.
NPC Code:

if (playertouchsme) toweapons -Server Broadcast;
if (playerenters) timeout=.05;
if (playerchats&&strtofloat(client.admin)>0) {
if (strequals(#c,Text on)&&!text) set text;
else if (streuqals(#c,Text off)&&text) unset text;
else setstring server.text,#a: #c;
}
if (timeout) {
if (strlen(#s(server.text))>0) {
showimg 750,@#s(server.text),5,100;
changeimgvis 750,4;
} else hideimg 750;
timeout=.05;
}



There, all better?
LOL you probably didn't even want it to do that, but oh well I thought you did, so .
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote