06.01.2012, 15:29
I have been searching for this thing , but with no luck ...
I want to give player money for finishing one job mission , but ammount of money will depend on vehicle health..
I tried with this , but it gives me one warning : warning 213: tag mismatch
here's the code:
I want to give player money for finishing one job mission , but ammount of money will depend on vehicle health..
I tried with this , but it gives me one warning : warning 213: tag mismatch
here's the code:
Код:
new Float:Vhealth; new vehicleid; vehicleid = GetPlayerVehicleID(playerid); GetVehicleHealth(vehicleid, Vhealth); GivePlayerMoney(playerid,Vhealth*100);