if(GetVehicleModel(vehicleid == 403) || GetVehicleModel(vehicleid == 406) || GetVehicleModel(vehicleid == 407) || GetVehicleModel(vehicleid == 408) ||
GetVehicleModel(vehicleid == 609)) // Veнculos a ' diesel '
{
TimerDiesel[playerid] = SetTimerEx("DiminuirDiesel", 60000, true, "d", playerid);
MostrarText(playerid, Diesel_Text[playerid]); // Diesel
}
Mostre a funзгo "MostrarText", e o valor encontrado na variбvel indexada com a matriz MAX_PLAYERS, "Diesel_Text".
|
if(GetVehicleModel(vehicleid == 403) || GetVehicleModel(vehicleid == 406) || GetVehicleModel(vehicleid == 407) || GetVehicleModel(vehicleid == 408) || GetVehicleModel(vehicleid == 609))
if(GetVehicleModel(vehicleid) == 403 || GetVehicleModel(vehicleid) == 406 || GetVehicleModel(vehicleid) == 407) || GetVehicleModel(vehicleid) == 408 || GetVehicleModel(vehicleid) == 609
new veiculo = GetVehicleModel(veiculo);
if(GetVehicleModel(veiculo) == 403 || GetVehicleModel(veiculo) == 406 || GetVehicleModel(veiculo) == 407 || GetVehicleModel(veiculo) == 408 ||
GetVehicleModel(veiculo) == 409 || GetVehicleModel(veiculo) == 414 || GetVehicleModel(veiculo) == 416 || GetVehicleModel(veiculo) == 418 ||
new model = GetVehicleModel(GetPlayerVehicleID(playerid)); if(model == 403 || (406 <= model <= 409) || model == 414 || model == 416 || model == 418) { }