Fuel system question!
#3

Can u show me an example this is what I have for setting the cars fuel I dont know how I will set it for like different cars trucks etc.
Код:
public OnFilterScriptInit()//when the filterscript loads
{
	for(new i=0;i<MAX_VEHICLES;i++) {
	    fuel[i] = 100; //sets every car's fuel to 100 in a loop
	}
	SetTimer("timer_fuel_lower",4200,true); //sets the timer to drop the fuel
	return 1;
}
Reply


Messages In This Thread
Fuel system question! - by baba1234 - 23.06.2015, 13:38
Re: Fuel system question! - by Hessu - 23.06.2015, 13:48
Re: Fuel system question! - by baba1234 - 23.06.2015, 13:59
Re: Fuel system question! - by Hessu - 24.06.2015, 06:31

Forum Jump:


Users browsing this thread: 1 Guest(s)