How do i setup an audio plugin? -
uprp - 08.09.2011
a simply audio plugin for IN CARS.
/play, /stop , and all that stuff
I have the includes.. just missing the info.
This is support, not request.
Thanks!
Helpers get a +rep cookie!!^^
Re: How do i setup an audio plugin? -
Snipa - 08.09.2011
https://sampwiki.blast.hk/wiki/IsPlayerInAnyVehicle
Audio_Play(playeridi, audioid, false, false, false);
or w/e
Re: How do i setup an audio plugin? -
uprp - 09.09.2011
Don't get it.. using strcmp.. please help.. even about connecting to FTP and such
Re: How do i setup an audio plugin? -
uprp - 09.09.2011
48 hour bump from original time. Need this ASAP.
Re: How do i setup an audio plugin? -
=WoR=G4M3Ov3r - 09.09.2011
What Snipa meant, is using IsPlayerInAnyVehicle in your script and under it, the necessary function that's included in the Audio plugin.
Re: How do i setup an audio plugin? -
Voldemort - 09.09.2011
Here is some tips with what to start
pawn Код:
new AudioOn[MAX_VEHICLES]; // On/Off also use OnPlayerEnterVehicle or at OnPlayerStateChange to sync
new AudioSource[MAX_VEHICLES]; // Audio source for stream, when someone enter car starts to play source
new AudioOnForPlayer[MAX_PLAYERS]; //To check if player hear music from car if yes on exit stop
you can make some 1 dialog where is all commands - start,stop,pause,volume etc
And use Audio_PlayStreamed(playerid,Stream,false,true,fals e);
If you want make really great its abit complicated, just remember you need to resync when ever someone change source in a car, so if there is others they also hear