
07-27-2005, 06:51 PM
|
|
Registered User
|
 |
Join Date: Oct 2004
Posts: 192
|
|
|
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. |
|
|
|