Admin Chat
#2

PHP код:
public OnPlayerText(playeridtext[])
{
    if(
text[0] == '@' && PlayerInfo[playerid][Level] >= 1) {
        new 
string[150]; GetPlayerName(playerid,string,sizeof(string));
        
format(string,sizeof(string),"A.Chat:[%i]%s: %s",playerid,string,text[1]);
        
MessageToAdmins(0xF27ED2FF,string);
        return 
0;
    } 
THIS IS SIMPLE ONE..
Reply


Messages In This Thread
Admin Chat - by Gotham - 30.09.2016, 16:00
Re: Admin Chat - by Younes44 - 30.09.2016, 16:03
Re: Admin Chat - by iLearner - 30.09.2016, 18:22
Re: Admin Chat - by Quinncell - 30.09.2016, 18:27
Re: Admin Chat - by CannonBolt - 30.09.2016, 18:40
Re: Admin Chat - by Quinncell - 30.09.2016, 18:45
Re: Admin Chat - by ActionTanki91 - 30.09.2016, 19:08
Re: Admin Chat - by CannonBolt - 30.09.2016, 19:31
Re: Admin Chat - by Quinncell - 30.09.2016, 21:00
Re: Admin Chat - by Logic_ - 01.10.2016, 09:11

Forum Jump:


Users browsing this thread: 1 Guest(s)