[Ajuda] error 004: function "OnDialogResponse" is not implemented
#6

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp(cmdtext"/admins"true) == 0)
    {
        new 
Jogador[24];
        new 
count5;
        new 
msg[120];
        for(new 
i=0i<MAX_PLAYERSi++)
        {
            if(
IsPlayerConnected(i) && IsPlayerAdmin(i))
            {
                
GetPlayerName(i,Jogador,24);
                
format(msg,sizeof(msg),"Admins Online: %s"Jogador);
                
SendClientMessage(playerid0xFFFFFFFFmsg);
                
count5++;
            }
        }
        if(
count5 == 0)
        {
            
SendClientMessage(playerid0xFFFFFFFF"{FF0000}[Brasil truck] Nenhum Admin Online no Momento Aguarde.");
        }
        return 
1;
    }
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)