17.06.2015, 19:38
I have textdraws Ostecenje(Impaired) and i use this script :
And i have this results http://www.dodaj.rs/f/D/1q/FbBIhzd/sa-mp-251.png with OstecenjeImpaired i want to be 10% 20% no 115.3111111112312 Please help and sorry because bad English..
Quote:
if(IsPlayerInAnyVehicle(playerid)) { if(!VoziloJeBicikla(GetVehicleModel(GetPlayerVehic leID(playerid)))) { new Ostecenje[100];new Float:HP; GetVehicleHealth(GetPlayerVehicleID(playerid), HP); format(Ostecenje, sizeof(Ostecenje), "%d", HP*0.0001); PlayerTextDrawSetString(playerid, Speedo[14][playerid], Ostecenje); } } |