[Include] OnPlayerVehicleDamage
#21

nice
i will use it..
but question:
what the different between OPVD.inc and OPVD_SEC.inc?
Reply
#22

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.
Reply
#23

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.
Reply
#24

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.
Reply
#25

Nice include/function usefull!
Reply
#26

Great Include...

But it gives-me the warning:

pawn Код:
OPVD.inc(121) : warning 232: output file is written, but with compact encoding disabled
Reply
#27

Will this work on 3c ?
Reply
#28

0.3c? We're on 0.3e. Anyways, you won't know until you try it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)