How can i get areaid (streamer plugin)
#1

Код:
        ..........
	CreateDynamicPolygon(pArea, -FLOAT_INFINITY, FLOAT_INFINITY, sizeof(pArea), -1, -1, -1);//How can i get id of it?
	
	return 1;
}

public OnPlayerEnterDynamicArea(playerid, areaid)
{
	if (areaid== ? )
	{
		Kick(playerid);
	}
	return 1;
}
(I wouldn't ask all of this if functions would have at least some basic explanation on source topic.
They're just posted with names.)
Reply
#2

Why do you create so many topics? You can actually solve a lot of problems by using a single topic.

Anyways the function itself should return an ID...
pawn Код:
some_id = CreateDynamicPolygon(...)
Reply
#3

Pardon me.
I didn't get all the bugs at one time,and i didn't know if i can post more problems in replies.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)