[Include] OnPlayerVehicleDamage - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] OnPlayerVehicleDamage (
/showthread.php?tid=276059)
Re: OnPlayerVehicleDamage -
Kaperstone - 19.08.2011
nice

i will use it..
but question:
what the different between OPVD.inc and OPVD_SEC.inc?
Re: OnPlayerVehicleDamage -
Darnell - 19.08.2011
Quote:
Originally Posted by xkirill
nice 
i will use it..
but question:
what the different between OPVD.inc and OPVD_SEC.inc?
|
Quote:
Originally Posted by wups
Attention: If you use SetVehicleHealth or RepairVehicle in Filterscripts, add this code in all of them.
pawn Code:
#include <OPVD_SEC> // after include <a_samp>
|
The message you have entered is too short. Please lengthen your message to at least 4 characters.
Re: OnPlayerVehicleDamage -
VOTZE - 22.09.2011
Is there any way to do it the other way? Something like OnVehicleDamagePlayer. It would look more realistic if player actually died after the car hit, or car crash... Now you have to hit him like 8 times before he dies, which is kind of lame. I could really use a script like this, but I have no idea how to script this with avaible callbacks.
Re: OnPlayerVehicleDamage -
wups - 22.09.2011
Quote:
Originally Posted by VOTZE
Is there any way to do it the other way? Something like OnVehicleDamagePlayer. It would look more realistic if player actually died after the car hit, or car crash... Now you have to hit him like 8 times before he dies, which is kind of lame. I could really use a script like this, but I have no idea how to script this with avaible callbacks.
|
I don't know any good functions to detect that except one: Constantly checking player animation for the one hit by a car.
Re: OnPlayerVehicleDamage -
Edvin - 22.09.2011
Nice include/function usefull!
Re: OnPlayerVehicleDamage -
andmeida10 - 05.07.2012
Great Include...
But it gives-me the warning:
pawn Код:
OPVD.inc(121) : warning 232: output file is written, but with compact encoding disabled
Re: OnPlayerVehicleDamage -
Black Wolf - 21.09.2012
Will this work on 3c ?
Re: OnPlayerVehicleDamage -
Skyrise - 21.09.2012
0.3c? We're on 0.3e. Anyways, you won't know until you try it.