SA-MP Forums Archive
:/ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: :/ (/showthread.php?tid=194586)



:/ - Luis- - 29.11.2010

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?


Re: :/ - XePloiT - 29.11.2010

what is the error?


Re: :/ - Luis- - 29.11.2010

Never mind a friend fixed it for me, You can lock it now.