car sound
#2

Quote:
Originally Posted by leuthrick
hey,

i will make with a command a sound from the car(music).

but how can i let hear all players that stay close by the car.


sorry for my bad english


thanks

leuthrick
lol bad english but as far as i understood u want to let music play near a car?
then ud need to check Under OnVehicleStream in if the vehicle id = the id of the car u want to play music from then play the sound for em
then make a timer which checks all players if they are near the car(IsPlayerInRangeOfPoint with carpos)
and if they aren't near stop it.
Reply


Messages In This Thread
car sound - by leuthrick - 04.11.2009, 06:29
Re: car sound - by saiberfun - 04.11.2009, 11:40
Re: car sound - by leuthrick - 04.11.2009, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)