CMD HELP
#5

pawn Код:
#define             COLOR_LIME                      0x10F441AA  //(at the top of the script)

CMD:ad(playerid, params[])
{
    new string[128], name[64] ;
    GetPlayerName(playerid, name, sizeof(name));
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /ad [Text]");

    format(string, sizeof(string), "[Advertisement] %s Contact: %s", params,name);
    SendClientMessageToAll(COLOR_LIME, string);
    GivePlayerMoney(playerid, -100000);
    return 1;
}
Reply


Messages In This Thread
CMD HELP - by Andy5 - 19.07.2015, 19:59
Re: CMD HELP - by simo0000 - 19.07.2015, 20:06
Re: CMD HELP - by Andy5 - 19.07.2015, 20:09
Re: CMD HELP - by Andy5 - 19.07.2015, 20:14
Re: CMD HELP - by gurmani11 - 19.07.2015, 20:17
Re: CMD HELP - by Andy5 - 19.07.2015, 21:12
Re: CMD HELP - by Glenn332 - 19.07.2015, 21:15
Re: CMD HELP - by Andy5 - 19.07.2015, 21:27
Re: CMD HELP - by gurmani11 - 19.07.2015, 21:34
Re: CMD HELP - by Glenn332 - 19.07.2015, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)