Script accidents
#1

Hi, it's a long time I'm looking for a script for accidents, that when a person collides with a vehicle, falls life.
I tried to create my own, but does not work! : (

Sorry for my english, i'm italian
Reply
#2

Collisions with other vehicles are indeed hard to detect, and I bet some really good scripters would have a problem with this. Even if it is made, it would be a teensy bit inaccurate. I guess your best chance is someone making it for you. I don't know if such a FS exists. I may be completely wrong.
Reply
#3

If a vehicle collides then usually something gets damaged. Be it the bumpers, the hood, the trunk, the doors, ... Those are all things that you can check for, along with health changes.
Reply
#4

https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate

https://sampwiki.blast.hk/wiki/GetVehicleDamageStatus

https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus

https://sampwiki.blast.hk/wiki/GetVehicleHealth

https://sampwiki.blast.hk/wiki/SetVehicleHealth

you can use those to check if a vehicle gets damaged/get the health of a vehicle
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)