SA-MP Forums Archive
[error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z)); - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z)); (/showthread.php?tid=397450)



[error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z)); - cluckintucker - 04.12.2012

Im try to create this script but when i add
Код:
  if(IsPlayerInRangeOfPoint(playerid,7.0, 2695.6880, -1704.6300, 11.8438));
I Get a error saying :
Код:
Check_Test.pwn(93) : error 036: empty statement
How do i fix this? Do i need to download anything? Please help thanks.


Re: [error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z)); - Bakr - 05.12.2012

Remove the semi-colon.


Re: [error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z)); - maramizo - 05.12.2012

pawn Код:
if(IsPlayerInRangeOfPoint(playerid,7.0, 2695.6880, -1704.6300, 11.8438));
To:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,7.0, 2695.6880, -1704.6300, 11.8438))
{
//code
}



Re: [error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z)); - cluckintucker - 08.12.2012

i know this is late but think guys it work


Re: [error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z)); - Devilxz97 - 08.12.2012

remove that ; at the end of "))"