Compound statement not closed.... help
#1

Compound statement not closed at the end of file(started at 115) ended at 121

Код:
public OnPlayerUpdate(playerid)
{
	if(IsPlayerInRangeOfPoint(playerid, 8, 2497.39, 2777.62, 11.27))
	{
	MoveObject(ag, 2497.50, 2785.44, 11.27,3);
	MoveObject(ag1, 2497.73, 2760.43, 11.27,3);
	SetTimer("close",4000,0);
	return 1;
}
Please fix this error if fixed rep up
Reply
#2

You have a '}' missing.
Reply
#3

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
You have a '}' missing.
where is it missing please copy code and put the bracket where it is necessary
I will really rep up if u help me in this please
Reply
#4

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 8, 2497.39, 2777.62, 11.27))
    {
        MoveObject(ag, 2497.50, 2785.44, 11.27,3);
        MoveObject(ag1, 2497.73, 2760.43, 11.27,3);
        SetTimer("close",4000,0);
    } //You were missing the bracket here.
    return 1;
}
As stated above you were just missing a bracket.
Reply
#5

Thanks rep up for both of u
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)