[HELP] SendMessageToAdmins
#1

How to make an "SendMessageToAdmins" include?

pawn Код:
#include <SendMessageToAdmins>
Example:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/sayhellotoadmins", cmdtext, true, 10) == 0)
    {
        if(SendMessageToAdmins)
        {
            new name[MAX_PLAYER_NAME], string[44];
            GetPlayerName(playerid, name, sizeof(name));
            format(string, sizeof(string), "%s says: Hello admins :)",name);
            SendClientMessageToAll(0xFFFF00AA, string);
            return 1;
        }
    }
    return 0;
}
and :P what is the most easy way to script sscanf, zcmd ,dcmd ,ect..cmd ^^
Reply


Messages In This Thread
[HELP] SendMessageToAdmins - by Larsey123IsMe - 16.12.2010, 14:24
Re: [HELP] SendMessageToAdmins - by Ash. - 16.12.2010, 14:31
Re: [HELP] SendMessageToAdmins - by Larsey123IsMe - 16.12.2010, 14:40

Forum Jump:


Users browsing this thread: 1 Guest(s)