09.08.2011, 17:36
Hey everyone,
I'm making interior enter/exits and can anyone say why I get this warning?
This is the line:
I tried doing it like:
But still get the same warning, everything works, but it's very annoying to see warning when compiling.
Can anyone help me?
P.S. everywhere else PlayerToPoint works perfectly.
I'm making interior enter/exits and can anyone say why I get this warning?
pawn Код:
warning 202: number of arguments does not match definition
pawn Код:
if (PlayerToPoint(2, playerid,-217.8443,979.1246,19.5040,102.9833)) { SetPlayerPos(playerid,246.783996,63.900199,1003.640625); SetPlayerInterior(playerid, 6);}
pawn Код:
if (PlayerToPoint(2, playerid,-217.8443,979.1246,19.5040,102.9833)) //THIS Is THE LINE WHERE I GET WARNING
{
SetPlayerPos(playerid,246.783996,63.900199,1003.640625);
SetPlayerInterior(playerid, 6);
}
Can anyone help me?
P.S. everywhere else PlayerToPoint works perfectly.