Fuel, HELP
#7

This is what i find it my gm -

and i want to disable gas on bikes



if(model != BMX && model != MTBIKE && model != BIKE)
{
if(vehicleDB[vehicleid][gas] > aEda[model-400])
{
vehicleDB[vehicleid][gas]-=aEda[model-400];
new Float:vhp; GetVehicleHealth(vehicleid,vhp); if(vhp > 307) SetVehicleHealth(vehicleid,vhp-7);
}else{
if(vehicleDB[vehicleid][gas] > 0)
{
vehicleDB[vehicleid][gas]=0;
}else{
TogglePlayerControllable(playerid,false);
}
}
Reply


Messages In This Thread
Fuel, HELP - by Kardanas - 23.12.2010, 11:57
Re: Fuel, HELP - by Mike_Peterson - 23.12.2010, 12:11
Re: Fuel, HELP - by Kardanas - 23.12.2010, 12:32
Re: Fuel, HELP - by Mike_Peterson - 23.12.2010, 12:36
Re: Fuel, HELP - by stix - 23.12.2010, 12:41
Re: Fuel, HELP - by Mike_Peterson - 23.12.2010, 12:49
Re: Fuel, HELP - by Kardanas - 23.12.2010, 13:51
Re: Fuel, HELP - by Kardanas - 23.12.2010, 16:26
Re: Fuel, HELP - by [BG]PREDATOR - 23.12.2010, 16:28

Forum Jump:


Users browsing this thread: 1 Guest(s)