27.03.2017, 14:17
Hello!
How can I give the player money which is the exact same amount as the vehicle health?
That's what I've got so far, but it's gives me a tag mismatch warning for the GivePlayerMoney line, and also, in-game the money just goes, infinite, I guess... The numbers just goes up and up. So it would be like if the vehicle have like 980HP the player will get $9800.
Thank you for the help!
How can I give the player money which is the exact same amount as the vehicle health?
Код:
new Float:health; new veh = GetPlayerVehicleID(playerid); GetVehicleHealth(veh, health); GivePlayerMoney(playerid, health * 10);
Thank you for the help!