How to make a text command?
#4

pawn Код:
if(strcmp(cmd, "/advertise", true) == 0) // Publicly says an admin message. Exact same as RCON's 'say' but in a red color.
    {
        if (adminlevel[playerid] >= 1)
        {
            SendClientMessageToAll(LIGHTBLUE, "VISIT http://WWW.COD5GS.TK! - Don't forget to connect to our Teamspeak 3 server! IP: teamspeak3.i3d.net:10173");
                return 1;
        }
        else return SendClientMessage(playerid, RED, "You cannot use this command, sorry.");      
        }
Reply


Messages In This Thread
How to make a text command? - by Alphos - 03.09.2010, 18:25
Re: How to make a text command? - by CyNiC - 03.09.2010, 18:28
Re: How to make a text command? - by Alphos - 03.09.2010, 18:37
Re: How to make a text command? - by CyNiC - 03.09.2010, 18:39
Re: How to make a text command? - by Hiddos - 03.09.2010, 18:55
Re: How to make a text command? - by Alphos - 03.09.2010, 19:06
Re: How to make a text command? - by LarzI - 03.09.2010, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)