What's Wrong...?
#8

Quote:
Originally Posted by dice7
Try this
pawn Код:
if(strcmp(cmd,"/ask",true,4)==0) // Ask's a Question
{
    if(!cmdtext[4])
    {
        SendClientMessage(playerid, COLOR_TAN, "Correct Usage: /ask [Question]");
        return 1;
    }

    new
        sendername[MAX_PLAYER_NAME],
        new string[128];
    GetPlayerName(playerid, sendername, sizeof(sendername));

    format(string, sizeof(string), "[QUESTION] %s has Asked a Question: [Question: %s.]", sendername, cmdtext[4]);
    SendClientMessageToAdmins(COLOR_TAN, string,2);
    SendClientMessage(playerid, COLOR_TAN, "Your Question Has been Sent To The Current Online Admins.");
    return 1;
}
One Error

pawn Код:
C:\Documents and Settings\******\*******\******************\filterscripts\SeifAdmin.pwn(1131) : error 001: expected token: "-identifier-", but found "new"

Line:

pawn Код:
new string[128];
Reply


Messages In This Thread
What's Wrong...? - by TheNotorius - 31.05.2010, 08:23
Re: What's Wrong...? - by Grim_ - 31.05.2010, 08:30
Re: What's Wrong...? - by Flashy - 31.05.2010, 08:37
Re: What's Wrong...? - by Grim_ - 31.05.2010, 08:41
Re: What's Wrong...? - by TheNotorius - 31.05.2010, 08:42
Re: What's Wrong...? - by Grim_ - 31.05.2010, 08:43
Re: What's Wrong...? - by dice7 - 31.05.2010, 08:50
Re: What's Wrong...? - by TheNotorius - 31.05.2010, 08:54
Re: What's Wrong...? - by Grim_ - 31.05.2010, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)