10.01.2014, 18:12
(
Последний раз редактировалось maxy153; 10.01.2014 в 18:53.
Причина: +REP
)
pawn Код:
AVehicleData[vid][Fuel] = AVehicleData[vid][Fuel] -0.1;
Код:
warning 213: tag mismatch
AVehicleData[vid][Fuel] = AVehicleData[vid][Fuel] -0.1;
warning 213: tag mismatch
enum TVehicleData
{
Fuel
}
enum TVehicleData
{
Float:Fuel
}
enum TVehicleData
{
Float:Fuel
}
Fuel.pwn(284) : warning 213: tag mismatch
return AVehicleData[vehicleid][Fuel];
AVehicleData[vid][Fuel] = AVehicleData[vid][Fuel] -0.1;
AVehicleData[vid][Fuel] = AVehicleData[vid][Fuel] -1;
if (GetPlayerVehicleSeat(playerid) == 0)
if ((final_speed_int > 10) && (AVehicleData[vid][Float:Fuel] > 0))
AVehicleData[vid][Float:Fuel] = AVehicleData[vid][Float:Fuel] -1;
enum TVehicleData
{
Float:Fuel
}
new AVehicleData[MAX_VEHICLES][TVehicleData];
if (GetPlayerVehicleSeat(playerid) == 0)
if ((final_speed_int > 10) && (AVehicleData[vid][Fuel] > 0))
AVehicleData[vid][Fuel] = AVehicleData[vid][Fuel] - 0.1;
AVehicleData[vid][Fuel] -= 0.1;