#1

pawn Код:
CMD:ask(playerid, params[])
{
    new pName[MAX_PLAYER_NAME], aName[MAX_PLAYER_NAME], str[128], id;
    if(sscanf(params, "us[128]", playerid, str)) return SendClientMessage(playerid, COLOR_GREY, "Usage: /ask [question]");
    {
        format(str, sizeof(str), "Question [%d]%s: %s", playerid, pName, params);
        GetPlayerName(playerid, pName, sizeof(pName));
        SendAdminMessage(playerid, COLOR_YELLOW, str);
        SendClientMessage(playerid, COLOR_GREY, "Your question is being approved by the Admins, Please be patient");
    }
    return 1;
}
Could you correct this for me?
Reply


Messages In This Thread
:/ - by Luis- - 29.11.2010, 22:03
Re: :/ - by XePloiT - 29.11.2010, 22:07
Re: :/ - by Luis- - 29.11.2010, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)