[AJUDA] ► GodVeiculo No Evento ◄
#4

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;
}
Reply


Messages In This Thread
[AJUDA] ► GodVeiculo No Evento ◄ - by Maklister - 01.06.2012, 01:38
Re: [AJUDA] ► GodVeiculo No Evento ◄ - by leonardo1434 - 01.06.2012, 02:00
Re: [AJUDA] ► GodVeiculo No Evento ◄ - by Maklister - 01.06.2012, 02:45
Re: [AJUDA] ► GodVeiculo No Evento ◄ - by ViictorDaay- - 01.06.2012, 09:44

Forum Jump:


Users browsing this thread: 2 Guest(s)