Advirtise
#2

pawn Код:
COMMAND:adv(playerid, params[])
{
    new message[128], string[128], name[MAX_PLAYER_NAME];
    if(sscanf(params, "s[128]", message)) return SendClientMessage(playerid, WHITE, "USAGE: /adv [message]);
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "
Advertisement by %s: %s.", name, message);
    SendClientMessageToAll(GREEN, string);
    return 1;
}
here you go.
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)