car accident
#1

Eh' people

how to make when a car getting in car accident

there will be this sound

PlayerPlaySound(playerid, 1141, X, Y, Z);

when the car hits da car.



if it possible
lol
Reply
#2

You could track when the vehicle loses health and if the health goes down play the sound?
Reply
#3

Or have a speedometer and if the velocity changes suddenly you could assume it was a crash...
Reply
#4

Make a timer to check the vehicles health , if the vehicles health suddenly lowers and if there's any cars near, play the sound.
Reply
#5


Quote:
Originally Posted by Ettans
Make a timer to check the vehicles health , if the vehicles health suddenly lowers and if there's any cars near, play the sound.
Quote:
Originally Posted by Weirdosport
Or have a speedometer and if the velocity changes suddenly you could assume it was a crash...
Quote:
Originally Posted by Miokie*
You could track when the vehicle loses health and if the health goes down play the sound?
But if he collision the wall,sound will play,he wants car accident,not every..
You can check if first vehicle is close to second vehicle,and both loses health,then that is car accident.


Luka[balkan-samp.com],
Sorry for my poor English
Reply
#6

Quote:
Originally Posted by Luka[balkan-samp.com
]

Quote:
Originally Posted by Ettans
Make a timer to check the vehicles health , if the vehicles health suddenly lowers and if there's any cars near, play the sound.
Quote:
Originally Posted by Weirdosport
Or have a speedometer and if the velocity changes suddenly you could assume it was a crash...
Quote:
Originally Posted by Miokie*
You could track when the vehicle loses health and if the health goes down play the sound?
But if he collision the wall,sound will play,he wants car accident,not every..
You can check if first vehicle is close to second vehicle,and both loses health,then that is car accident.


Luka[balkan-samp.com],
Sorry for my poor English
that was pro english xD

so is there any help how to make it??
Reply
#7

you english isn the "best."
Reply
#8

Quote:
Originally Posted by propilot
so is there any help how to make it??
They gave you all help you need:

Quote:
Originally Posted by Luka[balkan-samp.com
]
Quote:
Originally Posted by Ettans
Make a timer to check the vehicles health , if the vehicles health suddenly lowers and if there's any cars near, play the sound.
Quote:
Originally Posted by Weirdosport
Or have a speedometer and if the velocity changes suddenly you could assume it was a crash...
Quote:
Originally Posted by Miokie*
You could track when the vehicle loses health and if the health goes down play the sound?
But if he collision the wall,sound will play,he wants car accident,not every..
You can check if first vehicle is close to second vehicle,and both loses health,then that is car accident.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)