how to resume audio for player ?
#2

Quote:
Originally Posted by Dude_Lebowski
Посмотреть сообщение
Hi all im making a radio script but i cant figure out how to resume audio stream for player when he exits vehicle and enters again.

I made that when player exits a car his audio stream stops automaticly,
and audio stream works only in car so if someone could help me out i'd be greatfull alot.

Why don't you do something like,

OnPlayerEnterVehicle
if(PlayerInfo[playerid][pRadioResume] == 1) {
PlayAudioForPlayer <<< or whatever.
then

with the CMD:radioon or w/e

do PlayerInfo[playerid][pRadioResume] = 1; so you set it to one?
Reply


Messages In This Thread
how to resume audio for player ? - by Dude_Lebowski - 16.04.2012, 11:36
Re: how to resume audio for player ? - by BigD - 16.04.2012, 11:44
Re: how to resume audio for player ? - by Dude_Lebowski - 17.04.2012, 12:27
Re: how to resume audio for player ? - by Mark™ - 17.04.2012, 12:47
Re: how to resume audio for player ? - by Dude_Lebowski - 17.04.2012, 13:07
Re: how to resume audio for player ? - by Mark™ - 17.04.2012, 13:14
Re: how to resume audio for player ? - by Dude_Lebowski - 17.04.2012, 13:19
Re: how to resume audio for player ? - by Mark™ - 17.04.2012, 13:23
Re: how to resume audio for player ? - by James Coral - 17.04.2012, 13:51
Re: how to resume audio for player ? - by Dude_Lebowski - 17.04.2012, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)