SA-MP Forums Archive
Help me!! - 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: Help me!! (/showthread.php?tid=473361)



Help me!! - Gogorakis - 02.11.2013

How to fix this?

Quote:

C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(71927) : error 036: empty statement

Line:
Quote:

if (IsPlayerInRangeOfPoint(playerid, 2.0, 1214.691772, -903.268920, 42.920112)); //BSN




Re: Help me!! - Memoryz - 02.11.2013

pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 2.0, 1214.691772, -903.268920, 42.920112)); //BSN
Remove the ; at the end of the IF.


Re: Help me!! - Gogorakis - 02.11.2013

Quote:
Originally Posted by Memoryz
Посмотреть сообщение
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 2.0, 1214.691772, -903.268920, 42.920112)); //BSN
Remove the ; at the end of the IF.
FIXED

THANKS


Re: Help me!! - SAMProductions - 02.11.2013

Remove ";" at the End of the Line,

Try This:

Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1214.691772, -903.268920, 42.920112))