How to create /asay [text]
#8

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
pawn Код:
CMD:asay(playerid, params[])
{
    new String[100];
    if(PlayerInfo[playerid][AdminLevel] < 1)
        return SendClientMessage(playerid, -1, "You need to be an Adminstrator to use this command!");
    else if(sscanf(params, "s[100]", String))
        return SendClientMessage(playerid, -1, "Usage: /asay <text>");
    else
    {
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
        format(String, 100, "Adminstrator %s : %s", pName, String);
        SendClientMessageToAll(-1, String);
    }
    return 1;
}
Should work
Thank you bro! hoo and... when you finish the Admin system that you are making, I want to be the first one to have it!

PD: And i'm also making one. . |\/| |\/| |\/|... soooooo.... are you going to help me with that admin system that I asked you to install?
Reply


Messages In This Thread
How to create /asay [text] - by RiChArD_A - 29.03.2013, 23:56
Re: How to create /asay [text] - by SilverKiller - 30.03.2013, 00:13
Respuesta: Re: How to create /asay [text] - by RiChArD_A - 30.03.2013, 00:32
Re : How to create /asay [text] - by thegreathom - 30.03.2013, 00:32
Respuesta: Re : How to create /asay [text] - by RiChArD_A - 30.03.2013, 15:28
Re: Respuesta: Re : How to create /asay [text] - by SilverKiller - 30.03.2013, 15:36
Re: How to create /asay [text] - by Konstantinos - 30.03.2013, 15:49
Respuesta: Re: Respuesta: Re : How to create /asay [text] - by RiChArD_A - 30.03.2013, 15:52

Forum Jump:


Users browsing this thread: 2 Guest(s)