Posts: 2,041
Threads: 97
Joined: Jun 2013
Quote:
Originally Posted by Tirael
Define arriba del gm
pawn Код:
new MotorApagado[MAX_VEHICLES];
Y en la funciуn de bajar gasolina:
pawn Код:
if(MotorApagado[GetPlayerVehicleID(i)] == 1 ) return 1;
Y esto:
pawn Код:
MotorApagado[GetPlayerVehicleID(playerid)] = 1 ;// Motor apagado MotorApagado[GetPlayerVehicleID(playerid)] = 0 ;// Motor apagado
Asн se saltara el timer cuando un vehнculo tenga el motor apagado.
|
No serнa asн?:
pawn Код:
MotorApagado[GetPlayerVehicleID(playerid)] = 1 ;// Motor encendido
MotorApagado[GetPlayerVehicleID(playerid)] = 0 ;// Motor apagado
ї?.