car sound
#1

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
Reply
#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
#3

do u mean IsVehicleStreamedIn?

and how do i use IsVehicleStreamedIn?

i dont understand it on https://sampwiki.blast.hk/


i cant found OnVehicleStream in https://sampwiki.blast.hk/


thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)