Admin chat
#4

Try My Cmd
pawn Код:
CMD:achat(playerid, params[])
            {
            new Text[128];
            new string[140];
            new n[MAX_PLAYER_NAME];
            GetPlayerName(playerid,n,sizeof(n));
            if(PInfo[playerid][Level] < 3) return SendClientMessage(playerid,0xFF8000C8,"You need to be level 3 to use this command!");
            if(sscanf(params,"s[128]",Text)) return SendClientMessage(playerid,0xFF0000C8,"USAGE:/Say [Text]");
            format(string,sizeof(string),"{FF0000}[Admin:%s]:{00FF00}%s",n,Text);
            SendClientMessageToAll(0xFF8000C8, string);
            return 1;
    }
Reply


Messages In This Thread
Admin chat - by Nicholas. - 17.06.2012, 00:54
Re: Admin chat - by WagnerPM - 17.06.2012, 00:58
Re: Admin chat - by Nicholas. - 17.06.2012, 01:11
Re: Admin chat - by misho1 - 17.06.2012, 01:19
Re: Admin chat - by Nicholas. - 17.06.2012, 01:34
Re: Admin chat - by WagnerPM - 17.06.2012, 01:39
Re: Admin chat - by .FuneraL. - 17.06.2012, 01:48
Re: Admin chat - by Nicholas. - 17.06.2012, 02:08
Re: Admin chat - by misho1 - 17.06.2012, 02:35
Re: Admin chat - by Nicholas. - 17.06.2012, 02:52

Forum Jump:


Users browsing this thread: 4 Guest(s)