#1

can anyone show example of script function of this

PHP код:
 IsUnoccupiedDamageToggled(vehicleid); 
Reply
#2

Return 1 if unoccupied damage is enabled
This is function for read config from ToggleUnoccupiedDamage
Reply
#3

This mean,the vehicle can get fire without the player inside car
Reply
#4

Quote:
Originally Posted by crukk11
Посмотреть сообщение
This mean,the vehicle can get fire without the player inside car
Set Player Health to 500+ and the car won't burn (you can try setting vehicle health, idk)

or you can just use https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate and check if the health is under 100 and the player is On, and set the vehicle player to 100 again.
Reply
#5

what?
Reply
#6

Quote:
Originally Posted by crukk11
Посмотреть сообщение
This mean,the vehicle can get fire without the player inside car
Yes... Function needs to be renamed with "Vehicle" included tbh.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)