[Pedido] Chat de ajuda
#4

PHP код:
CMD:ajuda(playeridparams[])
{
       new 
Nomeee[24],String[178],Texto[128];
    
GetPlayerName(playeridNomeee24);
    
    if(
sscanf(params"s[128]"Texto)) return SendClientMessage(playerid, -1"Use: /Ajuda [Texto]");
    
format(Stringsizeof(String), "[Ajuda] %s(%02d): %s"NomeeeplayeridTexto);
    for(new 
iMAX_PLAYERS++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
IsPlayerAdmin(i)) //Vai verificar se й admin rcon
            
{
                
SendClientMessage(i, -1,String);
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
Chat de ajuda - by elTioFrame - 30.06.2018, 05:38
Re: Chat de ajuda - by GuiKommander - 30.06.2018, 12:48
Re: Chat de ajuda - by SmokeKiLL - 01.07.2018, 12:59
Re: Chat de ajuda - by Marllun - 01.07.2018, 17:30
Re: Chat de ajuda - by AutoMatic2 - 02.07.2018, 00:35

Forum Jump:


Users browsing this thread: 1 Guest(s)