| Saga2001 |
03-08-2002 10:18 PM |
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 :p.
|