[AJUDA]Chat Adm !!
#7

ZCMD:

PHP код:
COMMAND:asay(playeridparams[])
{
    new 
Name[24], Msg[128], Message[128];
    
SendAdminText(playerid"/asay"params);
    
GetPlayerName(playeridNamesizeof(Name));
    if (
APlayerData[playerid][LoggedIn] == true)
    {
        if (
APlayerData[playerid][PlayerLevel] > 3)
        {
            if (
sscanf(params"s[128]"Message)) SendClientMessage(playerid0xFF0000AA"Usage: \"/asay <Your Message>\"");
            else
            {
                for (new 
iMAX_PLAYERSi++)
                {
                    if (
APlayerData[i][LoggedIn] == true)
                    {
                        if (
APlayerData[i][PlayerLevel] > 3)
                        {
                            
format(Msg128"Adm chat-->admin{B0B0B0}%s said: {FFFFFF}%s"NameMessage);
                            
SendClientMessage(i0x33AA33AAMsg);
                        }
                    }
                }
            }
        }
        else
            return 
0;
    }
    else
        return 
0;
    return 
1;

estou a tratar do dcmd
Reply


Messages In This Thread
[AJUDA]Chat Adm !! - by dPlaYer_ - 21.07.2011, 23:53
Re: [AJUDA]Chat Adm !! - by ViniBorn - 21.07.2011, 23:59
Re: [AJUDA]Chat Adm !! - by Devastador - 22.07.2011, 01:39
Re: [AJUDA]Chat Adm !! - by Shadoww5 - 22.07.2011, 01:51
Re: [AJUDA]Chat Adm !! - by Devastador - 22.07.2011, 02:08
Re: [AJUDA]Chat Adm !! - by Shadoww5 - 22.07.2011, 08:34
Re: [AJUDA]Chat Adm !! - by array13 - 22.07.2011, 09:48
Re: [AJUDA]Chat Adm !! - by Shadoww5 - 22.07.2011, 15:57
Re: [AJUDA]Chat Adm !! - by dPlaYer_ - 22.07.2011, 16:03
Re: [AJUDA]Chat Adm !! - by steki. - 22.07.2011, 16:04

Forum Jump:


Users browsing this thread: 5 Guest(s)