Fuel - [Problem]
#7

You want to refill all cars, or just used cars?

Why: new vehicleid = GetPlayerVehicleID(playerid); ?
Correct is: new vehicleid = GetPlayerVehicleID(i); // get vehicleid of vehicle used by "i"

maybe add first

if(!IsPlayerInAnyVehicle(i)) continue;

VehicleFuel[vehicleid] = 100;

format(TD_String, 25, "%i %", VehicleFuel[i]);

VehicleFuel -> textdraw of the user, or of the vehicle?
Reply


Messages In This Thread
Fuel - [Problem] - by Dan_Barocu - 10.06.2012, 09:20
Re : Fuel - [Problem] - by ricardo178 - 10.06.2012, 09:22
Re: Fuel - [Problem] - by Dan_Barocu - 10.06.2012, 09:24
Re : Fuel - [Problem] - by ricardo178 - 10.06.2012, 09:27
Re: Fuel - [Problem] - by Dan_Barocu - 10.06.2012, 09:33
Re : Fuel - [Problem] - by ricardo178 - 10.06.2012, 09:36
Re: Fuel - [Problem] - by ReVo_ - 10.06.2012, 09:39
Re: Fuel - [Problem] - by Dan_Barocu - 10.06.2012, 09:40
Re : Re: Fuel - [Problem] - by ricardo178 - 10.06.2012, 09:41
Re: Fuel - [Problem] - by park4bmx - 10.06.2012, 09:42

Forum Jump:


Users browsing this thread: 1 Guest(s)