Progressbar don't move
#1

Hello ,
My progressbar don't move
Код:
public ProgressBaretatvoiture() 
{
for(new playerid; playerid < MAX_PLAYERS; playerid++)
{
new vehicle = GetPlayerVehicleID(playerid);
new vehicleid;
if((vehicleid = GetPlayerVehicleID(playerid)) && barvhealth[playerid] != INVALID_BAR_ID)
{
	new Float:health;
	GetVehicleHealth(vehicleid, health);
	SetProgressBarValue(barvhealth[playerid], health);
	UpdateProgressBar(barvhealth[playerid], playerid);
}
}
}
But when i remplace health with cGas ( is my condition for fuel ) it's work :/

Thks
Reply


Messages In This Thread
Progressbar don't move - by StreetRP - 18.11.2014, 17:52
Re: Progressbar don't move - by Pottus - 18.11.2014, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)