SendClientMessageToAdmins command
#1

Hello, I have this code and I need change it to ZCMD. Can anyone help me to do that ?
pawn Код:
if(strcmp(cmd, "/admin", true) == 0)
        {
                tmp = strtok(cmdtext, idx);
                if(!strlen(tmp))
                {
                        SendClientMessage(playerid, COLOR_GRAY, "USAGE: /admin[msg]");
                        return 1;
                }
                else
                {
                        format(string, sizeof(string), "AdmCmd: %s", tmp);
                        SendClientMessageToAdmins(COLOR_ADM_RED, string);
                }
                return 1;
        }
Reply


Messages In This Thread
SendClientMessageToAdmins command - by Tadas - 16.04.2014, 08:53
Re: SendClientMessageToAdmins command - by Hanuman - 16.04.2014, 08:59
Re: SendClientMessageToAdmins command - by Tadas - 16.04.2014, 09:04
Re: SendClientMessageToAdmins command - by PrivatioBoni - 16.04.2014, 09:09
Re: SendClientMessageToAdmins command - by BroZeus - 16.04.2014, 09:09
Re: SendClientMessageToAdmins command - by Hanuman - 16.04.2014, 09:11
Re: SendClientMessageToAdmins command - by PrivatioBoni - 16.04.2014, 09:13
Re: SendClientMessageToAdmins command - by Tadas - 16.04.2014, 09:34
Re: SendClientMessageToAdmins command - by Konstantinos - 16.04.2014, 10:01
Re: SendClientMessageToAdmins command - by PrivatioBoni - 16.04.2014, 10:42

Forum Jump:


Users browsing this thread: 2 Guest(s)