What's Wrong...?
#1

Okay, I Scripted This A While Back
And It's Never Worked
Everytime I Go IG And Type /ask Test

It Comes Up [QUESTION]John Sanders Has asked a Question: [Question: .]

It Only Comes Up with Teh Dot..

So here is The Code And help Would be Much Appreciated. =D


pawn Код:
if(strcmp(cmd,"/ask",true,4)==0) // Ask's a Question
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid, COLOR_TAN, "Correct Usage: /ask [Question]");
            return 1;
        }
            GetPlayerName(playerid, sendername, sizeof(sendername));
            new question[128];
            question = bigstrtok(cmdtext, idx);
            format(string, sizeof(string), "[QUESTION] %s has Asked a Question: [Question: %s.]", sendername,question);
            SendClientMessageToAdmins(COLOR_TAN, string,2);
            SendClientMessage(playerid, COLOR_TAN, "Your Question Has been Sent To The Current Online Admins.");
            return 1;
        }

-John
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)