SA-MP Forums Archive
VehiclePlaySound? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: VehiclePlaySound? (/showthread.php?tid=144492)



VehiclePlaySound? - Ben147 - 27.04.2010

There is any function of VehiclePlaySound
to add a sound to the vehicle and the radios of the sound will play
like PlayerPlaySound..

something like this
VehiclePlaySound(vehicleid,,soundid,Float:radi);

To my vehicle alarm



Re: VehiclePlaySound? - dcmd_crash - 27.04.2010

No. At least, not in this version of SA:MP.


Re: VehiclePlaySound? - Ben147 - 27.04.2010

:/


Re: VehiclePlaySound? - dice7 - 27.04.2010

You can use PlayerPlaySound combined with IsPlayerInRangeOfPoint and play the car horn sound repeatedly, when the player is close to the car


Re: VehiclePlaySound? - dcmd_crash - 27.04.2010

Quote:
Originally Posted by dice7
You can use PlayerPlaySound combined with IsPlayerInRangeOfPoint and play the car horn sound repeatedly, when the player is close to the car
Oh, good shout.