need help with one idea.. - 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)
+--- Thread: need help with one idea.. (
/showthread.php?tid=465934)
need help with one idea.. -
Scrillex - 25.09.2013
Is it possible to check if player is hit by driven car?
Re: need help with one idea.. -
JamesH - 25.09.2013
Hey Scrillex,
You can use this include it will be usefull for you.
https://sampforum.blast.hk/showthread.php?tid=276059
made by wups
Re: need help with one idea.. -
Scrillex - 25.09.2013
Yeah it is when veh is damaged but i want to check if player is hit by a car.. So basically y.. is it possible..
I know what you thought but still the question is how..
Re: need help with one idea.. -
JamesH - 25.09.2013
You want to detect the player damage after the vehicle hits him?
Re: need help with one idea.. -
Scrillex - 25.09.2013
Yeah something like that.. But i don't know how lol
.. because of my 911 system I need it ..
Btw thanks for your help mate
Re: need help with one idea.. -
Pottus - 25.09.2013
Try OnPlayerTakeDamage()
Re: need help with one idea.. -
Scrillex - 25.09.2013
eah but I have the system same for guns and fighting.. but how to check if that is a car
Re: need help with one idea.. -
Pottus - 25.09.2013
https://sampwiki.blast.hk/wiki/Weapons
Weapon id 49
Re: need help with one idea.. -
Scrillex - 25.09.2013
YEEEAaaaaH mate big thanks for real...
I was even didn't thought that out
thanks.