View Single Post
  #17  
Old 06-20-2001, 09:10 AM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
Radio Script

I have never made an NPC like this but ill give it a shot:

this would be for like a DJ Booth:
NPC Code:

if (playerchats && strequals(#g,DJ)) {
setstring server.radio,#c;
}



this would be for all of the other radios:
NPC Code:

if (created) {
timeout=.05;
}

if (timeout) {
setcharprop #c,#s(server.radio);
timeout=.05;
}



Like I said im not sure if this will work.
__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote