Argument mismatch(Type1)
#1

Ok,i got this error:
pawn Код:
C:\Documents and Settings\Allu\Desktop\Failid\samp02Xserver.win32\gamemodes\lvdm.pwn(599) : error 035: argument type mismatch (argument 1)
And the code is:
Quote:

if(strcmp(cmdtext,"/varav", true) == 0)

Where is the problem?
Full code is:
pawn Код:
new cmdtext;
new AnthonyVarav;
new playerid;
new COLOR_LIGHTRED;

if(strcmp(cmdtext,"/varav", true) == 0)
{

    {
    new gateuse;
    if(gateuse == 0)
      {
      MoveObject(AnthonyVarav, 322.057648, -1187.713867, 76.314163, 2.00);
      gateuse = 1;
    return 1;
    }
    else if(gateuse == 1)
    {
      MoveObject(AnthonyVarav, -322.057648, -1187.713867, 70.788826, 2.00);
      gateuse = 0;
      }
    else
        {
        SendClientMessage(playerid, COLOR_LIGHTRED, "Sa ei saa seda avada.");
        }
    }
}
Reply


Messages In This Thread
Argument mismatch(Type1) - by Allu - 24.06.2009, 14:01
Re: Argument mismatch(Type1) - by abhinavdabral - 24.06.2009, 14:34
Re: Argument mismatch(Type1) - by Allu - 24.06.2009, 14:43
Re: Argument mismatch(Type1) - by Nero_3D - 24.06.2009, 14:49
Re: Argument mismatch(Type1) - by luby - 24.06.2009, 14:53
Re: Argument mismatch(Type1) - by Allu - 24.06.2009, 14:56
Re: Argument mismatch(Type1) - by [TouchX]Ash - 24.06.2009, 15:53
Re: Argument mismatch(Type1) - by Allu - 24.06.2009, 16:39
Re: Argument mismatch(Type1) - by luby - 24.06.2009, 16:40
Re: Argument mismatch(Type1) - by Allu - 24.06.2009, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)