Advirtise
#3

PHP код:
YCMD:adv(playeridparams[], help)
{
    if(
help) { SendClientMessage(playerid, -1"This command is used to place advertisements."); }
    else
    {
        new 
string[128], name[MAX_PLAYER_NAME];
           
GetPlayerName(playeridnamesizeof(name))
        if(
sscanf(params"s[128]"params)) return SendClientMessage(playeridCOLOR_GREY"USAGE: (/adv)ertise [message]");
        
format(stringsizeof(string), "(( %s - Advertisment by: %s))"paramsname);
        
SendClientMessageToAll(-1string);
    }
    return 
1;

Heres a simple one done in YCMD.
Reply


Messages In This Thread
Advirtise - by Compton - 16.08.2011, 15:21
Re: Advirtise - by Soumi - 16.08.2011, 15:26
Re: Advirtise - by Kush - 16.08.2011, 15:28
Re: Advirtise - by =WoR=Varth - 16.08.2011, 15:30

Forum Jump:


Users browsing this thread: 2 Guest(s)