progress bar doesnt disappear
#4

Try the following

PHP код:
OnPlayerStateChange(playeridnewstateoldstate)
{
    if(
newstate == PLAYER_STATE_DRIVER)
    {
        
ShowProgressBarForPlayer(playeridVehicleBar[playerid]);
        
SetProgressBarValue(VehicleBar[playerid],100);
        
UpdateProgressBar(VehicleBar[playerid]);
        return 
1;
    }
    if((
oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
    {
        
HideProgressBarForPlayer(playeridVehicleBar[playerid]);
        return 
1;
    }

Reply


Messages In This Thread
progress bar doesnt disappear - by iBots - 14.05.2014, 18:19
Re : progress bar doesnt disappear - by yusei - 14.05.2014, 18:29
Re: progress bar doesnt disappear - by iBots - 14.05.2014, 18:37
Re : progress bar doesnt disappear - by yusei - 14.05.2014, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)