Fuel System Textdraw
#4

PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    
fueltimer[vehicleid] = SetTimerEx("DecreaseFuel"10001"ii"playeridvehicleid);
    
VehicleMeter[playerid] = CreatePlayerTextDraw(playerid498.000000140.000000" ");
    
PlayerTextDrawBackgroundColor(playeridVehicleMeter[playerid], 255);
    
PlayerTextDrawFont(playeridVehicleMeter[playerid], 1);
    
PlayerTextDrawLetterSize(playeridVehicleMeter[playerid], 0.3899991.299999);
    
PlayerTextDrawColor(playeridVehicleMeter[playerid], 0xFFFFFFFF);
    
PlayerTextDrawSetOutline(playeridVehicleMeter[playerid], 1);
    
PlayerTextDrawSetProportional(playeridVehicleMeter[playerid], 1);
    return 
1;

PHP код:
public OnPlayerExitVehicle(playeridvehicleid)
{
    
KillTimer(fueltimer[vehicleid]);
    
PlayerTextDrawDestroy(playeridVehicleMeter[playerid]);
    return 
1;

It's still giving the same problems.
Reply


Messages In This Thread
Fuel System Textdraw - by JaskaranSingh - 18.04.2018, 19:21
Re: Fuel System Textdraw - by JaskaranSingh - 19.04.2018, 09:48
Re: Fuel System Textdraw - by jasperschellekens - 19.04.2018, 10:18
Re: Fuel System Textdraw - by JaskaranSingh - 19.04.2018, 16:14
Re: Fuel System Textdraw - by CodeStyle175 - 19.04.2018, 16:52
Re: Fuel System Textdraw - by Pottus - 19.04.2018, 16:57
Re: Fuel System Textdraw - by JaskaranSingh - 19.04.2018, 19:33

Forum Jump:


Users browsing this thread: 1 Guest(s)