/w command
#3

pawn Код:
CMD:w(playerid,params[])
{
    new string[128];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(sscanf(params,"s[128]",params)) return SendClientMessage(playerid,COLOR_ERROR,"USAGE: /w (Message)");
        if(PlayerToPlayer(playerid, i, < 10))
        {
           format(string,sizeof(string),"%s(%d) whispered : %s",GetName(playerid),playerid,params);
           SendClientMessage(i,COLOR_PURPLE,string);
           return 1;
        }
    }
    return 1;
}
Try this. Not familiar with your functions.
Reply


Messages In This Thread
/w command - by DarkLored - 29.03.2014, 22:04
Re: /w command - by Matess - 29.03.2014, 22:32
Re: /w command - by Brandon_More - 29.03.2014, 22:33
Re: /w command - by Calgon - 29.03.2014, 22:42
Re: /w command - by Konstantinos - 29.03.2014, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)