[Pedido] Comando Bomba Atфmica!
#2

Nгo cheguei a testar Mais pode funcionar ...

pawn Code:
COMMAND:bombaa(playerid, params[])
{
    new Msg[128], Name[24], AdminName[24]
    SendAdminText(playerid, "/bombaa", params);
    if(APlayerData[playerid][LoggedIn] == true)
    {
        if(APlayerData[playerid][PlayerLevel] >= 5)
        {
            for(new i; i < MAX_PLAYERS; i++) {
                new Float:x, Float:y, Float:z;
                GetPlayerPos(i, x, y, z);
                CreateExplosionForPlayer(i, x, y, z, 1, 10.0);
                SetPlayerHealth(i, 0.0);
            }
            GetPlayerName(playerid, AdminName, sizeof(AdminName));
            format(Msg, 128, "{FF0000}-| O Administrador %s Matou todos com uma Bomba Atфmica. |-", AdminName);
            SendClientMessageToAll(0xFFFFFFFF, Msg);
        }
        else SendClientMessage(playerid, -1, "[INFO] Vocк nгo e administrador !");
    }
    return 1;
}
Reply


Messages In This Thread
Comando Bomba Atфmica! - by jdsfenix - 29.04.2014, 06:36
Re: Comando Bomba Atфmica! - by shittt - 29.04.2014, 13:07
Re: Comando Bomba Atфmica! - by jdsfenix - 29.04.2014, 16:31
Re: Comando Bomba Atфmica! - by jdsfenix - 29.04.2014, 17:30

Forum Jump:


Users browsing this thread: 1 Guest(s)