a cmd
#4

PHP код:
COMMAND:a(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] < 1
    {
        new 
result[128];
        if(
sscanf(params,"s[128]",result)) return SendClientMessage(playerid0xFFFFFFFF"SERVER: /a [msg]");
        new 
string[128],Name[MAX_PLAYER_NAME];
        
GetPlayerName(playerid,Name,sizeof(Name));
        
format(string,sizeof(string),"[A-CHAT] %s[AdminLevel:%i] (%i): %s",Name,PlayerInfo[i][pAdmin], playeridresult);
        foreach(
Player,i)
        {
            if(
PlayerInfo[i][pAdmin] < 1)
            {
                
SendClientMessage(i,0x00FF00FF,string);
            }    
        }
    }
    return 
1;

Reply


Messages In This Thread
a cmd - by Deny1 - 30.01.2016, 15:31
Re: a cmd - by BiosMarcel - 30.01.2016, 15:37
Re: a cmd - by Deny1 - 30.01.2016, 15:41
Re: a cmd - by BiosMarcel - 30.01.2016, 15:44
Re: a cmd - by adithegman - 30.01.2016, 15:45
Re: a cmd - by fuckingcruse - 30.01.2016, 15:55
Re: a cmd - by BiosMarcel - 30.01.2016, 16:10
Re: a cmd - by Deny1 - 30.01.2016, 16:27
Re: a cmd - by BiosMarcel - 30.01.2016, 16:33
Re: a cmd - by Deny1 - 30.01.2016, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)