[Ajuda] Lataria
#1

Como posso fazer que quando a lataria chegar em 40% a textdraw fique vermelha?

PHP код:
        new DamageString[50], Float:Health;
        
GetVehicleHealth(GetPlayerVehicleID(playerid),Health);
        
format(DamageString50"~g~%d%% L"floatround(Health)/10);
        
PlayerTextDrawSetString(playeridVelo[6], DamageString);
        
PlayerTextDrawShow(playerid,Velo[6]); 
Reply


Messages In This Thread
Lataria - by LLNub - 02.04.2017, 19:14
Re: Lataria - by valdirdd - 02.04.2017, 19:35
Re: Lataria - by LLNub - 02.04.2017, 19:59

Forum Jump:


Users browsing this thread: 3 Guest(s)