PlayerHealth
#1

I would make a SIMPLE system like: VehicleHEalth=PlayerHealth

AKA when you crash you lose some health...
Reply
#2

You can use OnVehicleDamageStatusUpdate
Reply
#3

Код:
new Float:health;
new Float:VehHealth = (GetPlayerHealth(playerid, health)) * 100;
SetVehicleHealth(vehicleid, VehHealth);
I think if you put this in under OnPlayerUpdate(playerid) it should work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)