Whats wrong?
#1

Hello, i am making a /settalk cmd. And i get a strange error,

this is the command
pawn Код:
command(settalk, playerid, params, cmdtext, idx[])
{
        if(IsPlayerConnected(playerid))
        {
            new settalk[128];
            settalk = strtok(cmdtext, idx);
            if(!strlen(settalk)) {
              SendClientMessage(playerid, WHITE, "USAGE: /settalk 1-5");
                 return 1;
            }
            else if(strcmp(settalk,"1", true) == 0)
            {
               settalk1[playerid] = 1;
                  SendClientMessage(playerid, WHITE, " Chat style has been set!");
               }
        }
        return 1;
    }
Код:
 error 035: argument type mismatch (argument 1)
Thanks, Alex
Reply


Messages In This Thread
Whats wrong? - by Tutrix - 16.12.2010, 22:09
Re: Whats wrong? - by Tutrix - 17.12.2010, 05:28
Re: Whats wrong? - by XePloiT - 17.12.2010, 05:39
Re: Whats wrong? - by Tutrix - 17.12.2010, 08:09
Re: Whats wrong? - by Tutrix - 17.12.2010, 12:37
Re: Whats wrong? - by Kaylux - 17.12.2010, 13:12
Re: Whats wrong? - by Tutrix - 17.12.2010, 13:27
Re: Whats wrong? - by Kaylux - 17.12.2010, 13:41
Re: Whats wrong? - by Tutrix - 17.12.2010, 14:10
Re: Whats wrong? - by Kaylux - 17.12.2010, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)