Command? (SIMPLE & +REP!)
#2

pawn Код:
CMD:m(playerid,params[])
{
    if(isnull(params)) return SendClientMessage(playerid, COLOR_LIGHTBLUE,"[SYNTAX]: /m [megaphone]");
    if(GetPlayerSkin(playerid) == 285 || GetPlayerSkin(playerid) == 282 || GetPlayerSkin(playerid) == 281 || GetPlayerSkin(playerid) == 283 || GetPlayerSkin(playerid) == 288)
    {  
        new sendername[MAX_PLAYER_NAME], string[128];
            GetPlayerName(playerid,sendername,sizeof(sendername));
            sendername[strfind(sendername,"_")] = ' ';
            format(string, sizeof(string), "(MEGAPHONE) %s ", params);
            ProxDetector(30.0, playerid, string, COLOR_RED, COLOR_RED, COLOR_RED, COLOR_RED, COLOR_RED);
        return 1;
    }
}
Reply


Messages In This Thread
Command? (SIMPLE & +REP!) - by Gooday - 06.03.2012, 15:22
Re: Command? (SIMPLE & +REP!) - by [MG]Dimi - 06.03.2012, 15:27
Re: Command? (SIMPLE & +REP!) - by Gooday - 06.03.2012, 15:39
Re: Command? (SIMPLE & +REP!) - by Smally - 06.03.2012, 15:42
Re: Command? (SIMPLE & +REP!) - by Gooday - 06.03.2012, 15:43
Re: Command? (SIMPLE & +REP!) - by Konstantinos - 06.03.2012, 15:45
Re: Command? (SIMPLE & +REP!) - by Twisted_Insane - 06.03.2012, 15:46
Re: Command? (SIMPLE & +REP!) - by [MG]Dimi - 06.03.2012, 15:58
Re: Command? (SIMPLE & +REP!) - by Gooday - 06.03.2012, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)