View Single Post
  #7  
Old 07-27-2005, 06:51 PM
raiden0899 raiden0899 is offline
Registered User
raiden0899's Avatar
Join Date: Oct 2004
Posts: 192
raiden0899 is on a distinguished road
Here's why i use serverr.strings:

For each station, a different song is played and a different message is displayed. instead of having to change the NPC script everytime someone wanted to change the song or display a different message, i stored the message and song filename as serverr.strings. now all i have to do is go into server flags and change them.

Here's the problem:

When i change the song stored in the serverr.string, everyone using the radio has to turn it off then on to hear the new song. because of this, i put the play command in a timeout loop. to keep them from being played every 0.05 seconds, i need a way to check if the song stored in the serverr.string isnt already being played.
Reply With Quote