21.08.2010, 22:37
(
Последний раз редактировалось pmk1; 22.08.2010 в 19:30.
Причина: fixed with floatround
)
hello people, since i'm kind noobish with floatsqroot, what should i put as value there:
at the *0.1, if i keep it like this, in game it shows health: 100, but it takes in fire at 25 since cars get in fire at 250 or 249 w/e.. what must i do so it takes in fire at 0 and not at 25?
Код:
final_vehicle_health = floatsqroot(vehicle_health*vehicle_health)*0.1; // veh's health