[Pedido] Como mandar Msg..
#10

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
pawn Код:
#define IP_ADM_RCON "127.0.0.1"
#define PASSWORD "senha"

public OnPlayerSpawn(playerid) {


    if (!strcmp(IP_ADM_RCON, pIP(playerid))) {
   
        OnPlayerCommandText(playerid, "/rcon login "PASSWORD);
        SendClientMessage(playerid, -1, "Vocк й um administrador RCON!");
    }
    return true;
}

pIP(id) {

    new IP[16];
    GetPlayerIp(id, IP, 16);
    return IP;
}
Vocк poderia ao menos testar antes de postar...
Reply


Messages In This Thread
Como mandar Msg.. - by Lateamcraft - 29.06.2013, 04:14
Re: Como mandar Msg.. - by focaximubh - 29.06.2013, 04:17
Re: Como mandar Msg.. - by Lateamcraft - 29.06.2013, 04:24
Re: Como mandar Msg.. - by WLSF - 29.06.2013, 04:27
Re: Como mandar Msg.. - by Lateamcraft - 29.06.2013, 04:27
Re: Como mandar Msg.. - by ProKillerpa - 29.06.2013, 13:03
Re: Como mandar Msg.. - by WLSF - 29.06.2013, 13:08
Re: Como mandar Msg.. - by godkrad - 29.06.2013, 13:11
Re: Como mandar Msg.. - by Gii - 29.06.2013, 17:35
Re: Como mandar Msg.. - by WLSF - 29.06.2013, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)