28.07.2012, 12:57
Hello.
I have one problem.
I have a stock "PlayAudioStreamForAll" and I made a command for it and this command can be used by Reporters.
However, if reporters type command: /music [songname] then the music will play for all players..
Now, I have stuck into one problem.
Is it somehow possible to make like, if Playerstate is in car then the music will start for him.
Example:
Reporter: Song: Sean Paul - ...(remix)
Player in car: Listening...
Player on foot: Not listening.
If the song already is playing and player is going into car, then the music resumes for him.
Sorry for bad English
I have one problem.
I have a stock "PlayAudioStreamForAll" and I made a command for it and this command can be used by Reporters.
However, if reporters type command: /music [songname] then the music will play for all players..
Now, I have stuck into one problem.
Is it somehow possible to make like, if Playerstate is in car then the music will start for him.
Example:
Reporter: Song: Sean Paul - ...(remix)
Player in car: Listening...
Player on foot: Not listening.
If the song already is playing and player is going into car, then the music resumes for him.
Sorry for bad English