#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
#2

what is the error?
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)