01.06.2012, 09:44
pawn Код:
new bloquear[MAX_PLAYERS]; // Topo do GameMode
// DE PREFERENCIA BOTE NO FINAL DO GAMEMODE
// LEMBRE-SE ADICIONAR ISSO NO COMANDO >>> bloquear = 1;
CMD:godcar(playerid, params[])
{
if(bloquear) == 1);
SendClientMessage(playerid, GREEN, "GOD Veiculo LIGADO");
SetVehicleHealth(vehicleid, 999999);
new Float:health;
GetVehicleHealth(playerid, health);
if(health < 999) return RepairVehicle(GetPlayerVehicleID(playerid));
}
return 1;
}
CMD:godcaroff(playerid, params[])
{
SendClientMessage(playerid, RED, "GOD Veiculo DESLIGADO");
SetVehicleHealth(vehicleid, 1000.0);
return 1;
}