error 036: empty statement
#1

Код:
}
	if (IsPlayerInRangeOfPoint(playerid, 8, 2463.6999, -1654, 12.3));
	{
	MoveObject(gate, 2463.6999, -1654, 12.3, 3);
	SetTimer("close", 4000, 0);
	return 1;
	}
And I get "error 036: empty statement"

Any suggestions? I heard that you get that error when there's a semicolon where there isn't supposed to be one. But I can't seem to find the problem.
Reply
#2

PHP код:
if (IsPlayerInRangeOfPoint(playerid82463.6999, -165412.3)); 
Should be:

PHP код:
if (IsPlayerInRangeOfPoint(playerid82463.6999, -165412.3)) 
Quote:

I heard that you get that error when there's a semicolon where there isn't supposed to be one. But I can't seem to find the problem.

Reply
#3

Thankies!
Reply
#4

Your welcome.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)