/enter .. error -
uprp - 26.08.2011
+_)_)^_$%)^%(17406) : warning 202: number of arguments does not match definition
^_$#P^_#^_%^(1740
: warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
My code:
if (strcmp("/enter", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,286.7746,1820.3 505,17.6406,82.6615))
{
SetPlayerPos(playerid, 284.3833,1822.5433,17.6406,93.4599);
}
return 1;
}
Re: /enter .. error -
BigAl - 26.08.2011
pawn Код:
if (strcmp("/enter", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,286.7746,1820.3 505,17.6406,82.6615))
{
SetPlayerPos(playerid, 284.3833,1822.5433,17.6406);
}
return 1;
}
___
Re: /enter .. error -
uprp - 26.08.2011
Quote:
Originally Posted by BigAl
pawn Код:
if (strcmp("/enter", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid,286.7746,1820.3 505,17.6406,82.6615)) { SetPlayerPos(playerid, 284.3833,1822.5433,17.6406); } return 1; }
___
|
even more errors with that,,.,
Re: /enter .. error -
Azzeto - 26.08.2011
pawn Код:
f (strcmp("/enter", cmdtext, true, 10) == 0)
IsPlayerInRangeOfPoint(playerid,286.7746,1820.3 505,17.6406,82.6615))
{
SetPlayerPos(playerid, 284.3833,1822.5433,17.6406,93.4599);
}
return 1;
}
The "if" before the IsPlayerInRangeOfPoint might be giving you the errors.
Re: /enter .. error -
Speed - 26.08.2011
pawn Код:
if(strcmp(cmdtext,"/enter",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, 286.7746,1820.3505,17.6406))
{
SetPlayerPos(playerid, 284.3833,1822.5433,17.6406);
}
return 1;
}
that should work
Re: /enter .. error -
BigAl - 26.08.2011
pawn Код:
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,286.7746,1820.3505,17.6406,82.6615))
{
SetPlayerPos(playerid, 284.3833,1822.5433,17.6406);
}
return 1;
}
Re: /enter .. error -
uprp - 26.08.2011
Thanks guys, helped out. BIGAL, yours still didint work, but ehh,,
Re: /enter .. error -
Speed - 26.08.2011
Quote:
Originally Posted by uprp
Thanks guys, helped out. BIGAL, yours still didint work, but ehh,,
|
did main work?