SA-MP Forums Archive
how to fix the fuel system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how to fix the fuel system (/showthread.php?tid=479768)



how to fix the fuel system - madog357 - 07.12.2013

i find that the fuel system is running to fast not like a real car would i also if that sometime it will not turn off when i turn off the car how could i go about fix them.


Re: how to fix the fuel system - Audi_Quattrix - 07.12.2013

well noone is so good at scripting to do it without your code....


Re: how to fix the fuel system - FahadKing07 - 07.12.2013

post your code


Re: how to fix the fuel system - madog357 - 11.12.2013

ok i think i got the right one still new to scripting

public OnFilterScriptInit()
{
print("*______________________*");
print(" PFuel 1.0v by Phanto90 ");
print("*______________________*");
for(new i=0;i<MAX_STATIONS;i++)
{
CreateDynamic3DTextLabel("[{C14124}Fuel Station{FFFFFF}]\n Press SPACE", 0xFFFFFFFF, Station[i][0], Station[i][1], Station[i][2], 100, INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0, -1, -1,-1);
}
SetTimer("FuelTimer",10000,true);
SetTimer("TextDraw",500,true);
ManualVehicleEngineAndLights();