[error (bcuz of " if (IsPlayerInRangeOfPoint(playerid, x y z));
#1

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.
Reply
#2

Remove the semi-colon.
Reply
#3

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
}
Reply
#4

i know this is late but think guys it work
Reply
#5

remove that ; at the end of "))"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)