what this do TogglePlayerDynamicArea ?? - 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: what this do TogglePlayerDynamicArea ?? (
/showthread.php?tid=394296)
what this do TogglePlayerDynamicArea ?? -
Azazelo - 21.11.2012
In streamer by Incognito
Quote:
TogglePlayerDynamicArea(playerid,areaid,trogle);
|
And this shod enable/disable area or show/hide ??
Re: what this do TogglePlayerDynamicArea ?? -
ReneG - 21.11.2012
It enables an area to call OnPlayerEnterDynamicArea when a player enters it.
Re: what this do TogglePlayerDynamicArea ?? -
Luis- - 21.11.2012
It can also disable the area, here's two examples:
Код:
// Enabled.
TogglePlayerDynamicArea(playerid,areaid,true);
// Disabled.
TogglePlayerDynamicArea(playerid,areaid,false);
Re: what this do TogglePlayerDynamicArea ?? -
Azazelo - 21.11.2012
Thank you for clear this to me.