Streamer Areas - 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: Streamer Areas (
/showthread.php?tid=609616)
Streamer Areas -
AidanRO - 14.06.2016
Hello everyone,
Another help topic regarding my gamemode revamping. I'm now about to finish it. The things is that I can't finish the trace system because I'm doing it like this: every signal tower on the map is script-wise an area (sphere) created by the Streamer plugin. Well, the problem is that when a player gets traced, the command should get all of the "signal-towers" which he is connected to (example: The player is currently connected to: Idlewood ST - Bad; Willowfield - Strong; El Corona - Weak).
The things is: how should I detect the areas which the player is "connected" to? I tried the GetDynamicAreasForPoint thing, but it's useless as that is only returning the amount of areas and not the actual areas.
Thanks for the help
Re: Streamer Areas -
TwinkiDaBoss - 14.06.2016
Well best thing would be, use DynamicAreas
You can detect their current area etc.
PHP код:
public OnPlayerEnterDynamicArea(playerid, areaid)
Re: Streamer Areas -
AidanRO - 22.06.2016
Quote:
Originally Posted by TwinkiDaBoss
Well best thing would be, use DynamicAreas
You can detect their current area etc.
PHP код:
public OnPlayerEnterDynamicArea(playerid, areaid)
|
I'm already using this, but if you would've read what I wrote I'm making a phone tracing system.
But you gave me an idea