SA-MP Forums Archive
How can i get areaid (streamer plugin) - 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: How can i get areaid (streamer plugin) (/showthread.php?tid=473788)



How can i get areaid (streamer plugin) - Tagathron - 04.11.2013

Код:
        ..........
	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.)


AW: How can i get areaid (streamer plugin) - BigETI - 04.11.2013

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(...)



Re: How can i get areaid (streamer plugin) - Tagathron - 04.11.2013

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.