SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 04/11/2009, 07:29 AM   #1
leuthrick
Little Clucker
 
Join Date: Oct 2009
Posts: 13
Reputation: 0
Default car sound

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
leuthrick is offline  
Old 04/11/2009, 12:40 PM   #2
saiberfun
High-roller
 
saiberfun's Avatar
 
Join Date: Nov 2008
Location: Germany
Posts: 3,598
Reputation: 378
Default Re: car sound

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.
__________________
saiberfun is offline  
Old 04/11/2009, 05:29 PM   #3
leuthrick
Little Clucker
 
Join Date: Oct 2009
Posts: 13
Reputation: 0
Default Re: car sound

do u mean IsVehicleStreamedIn?

and how do i use IsVehicleStreamedIn?

i dont understand it on http://wiki.sa-mp.com/


i cant found OnVehicleStream in http://wiki.sa-mp.com/


thanks
leuthrick is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound maltheus. Help Archive 8 25/01/2010 05:37 PM
Sound for all! WThieves Help Archive 4 24/12/2009 02:52 PM
Help with sound plz. Doppeyy Help Archive 5 11/08/2009 12:17 AM
Sound -eXo Help Archive 1 26/05/2009 06:31 PM
sound [LNL]Remulis Server Support 4 24/03/2009 09:47 PM


All times are GMT. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.