06.06.2007, 13:47
yes it shows car fuel 100 everytime 
if(GetPlayerState(i) == PLAYER_STATE_DRIVER) {
new p = GetClosestPlayer(i);
new string[255];
new veh = GetPlayerVehicleID(p);
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n ~~g~Fuel:%d",Gas[veh]);
GameTextForPlayer(i,string,1000,5);
if(GetPlayerState(i) == PLAYER_STATE_DRIVER) {
new p = GetClosestPlayer(i);
new string[255];
new veh = GetPlayerVehicleID(p);
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n ~~g~Fuel:%d",Gas[vehicle]);
GameTextForPlayer(i,string,1000,5);
just change "veh" to vehicle.
and it will change all the way down.
also i changed my #define MAX_GAS 100
to
#define MAX_GAS 600
since 100 seconds isnt nearly much time.. 1minute and 40 seconds.. I don't think that will be working with me.
Also, that bug when you are out of fuel, and you can't move?
If there is an admin, stay in your car when you are out of fuel. Tell him to 'thaw' you. After you 'refuel' though.
Then you are able to move.

if(GetPlayerState(i) == PLAYER_STATE_DRIVER) {
new p = GetClosestPlayer(i);
new string[255];
new veh = GetPlayerVehicleID(p);
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n ~~g~Fuel:%d",Gas[veh]);
GameTextForPlayer(i,string,1000,5);
if(GetPlayerState(i) == PLAYER_STATE_DRIVER) {
new p = GetClosestPlayer(i);
new string[255];
new veh = GetPlayerVehicleID(p);
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n ~~g~Fuel:%d",Gas[vehicle]);
GameTextForPlayer(i,string,1000,5);
just change "veh" to vehicle.
and it will change all the way down.
also i changed my #define MAX_GAS 100
to
#define MAX_GAS 600
since 100 seconds isnt nearly much time.. 1minute and 40 seconds.. I don't think that will be working with me.

Also, that bug when you are out of fuel, and you can't move?
If there is an admin, stay in your car when you are out of fuel. Tell him to 'thaw' you. After you 'refuel' though.
Then you are able to move.