10.07.2014, 18:28
hey guys i would like to need some help i need to change the jobs payment but i dont know why it dosent change...
thanks for the help!
Код:
new Float:health; new brinks, string[128]; GetVehicleHealth(vehicleid, health); if(health >= 6000) { SendClientMessageEx(playerid, COLOR_YELLOW, "* You earned a bonus for returning the vehicle undamaged!"); brinks += 10000; } else { brinks += floatround((health), floatround_ceil); } format(string, sizeof(string), "* You earned %d for completing the route!", brinks); SendClientMessageEx(playerid, COLOR_YELLOW, string); GivePlayerCash(playerid, brinks); brinks = 0;