[HELP]Allowed Area - 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: [HELP]Allowed Area (
/showthread.php?tid=498363)
[HELP]Allowed Area -
donhu789 - 03.03.2014
Hello Everyone Is That Any How That I Can Make A Area For Player
Meaning: Player Must Stay In That Area Or Else They will Be Hit Back Back Back Untill Arrive To The ARea
I wanted The Whole LSA But i don't know how
Some One Can Explain ?
Re: [HELP]Allowed Area -
MP2 - 03.03.2014
SetPlayerWorldBounds. Unfortunately, this has to be rectangular. If you need a more complex shape, you'd have to use dynamic areas (streamer).
Re: [HELP]Allowed Area -
donhu789 - 03.03.2014
wich part in Incongito streamer i should use
Re: [HELP]Allowed Area -
MohanedZzZ - 03.03.2014
Quote:
Originally Posted by donhu789
wich part in Incongito streamer i should use
|
Please check
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
+Rep if i help
Re: [HELP]Allowed Area -
donhu789 - 03.03.2014
no i mean He Said SetPlayerWorldBounds Is Not Availble What I Required
and he Said use streamer
But Wich Parts In Streamer I need to used =))
Re: [HELP]Allowed Area -
KubiPL - 03.03.2014
Use Incognito streamer - CreateDynamicArea or Sphere as u need it. Then at callback OnPlayerLeaveDynamicArea make player push back in the area pos (you can use SetPlayerVelocity - you'll need to get area pos and make vector (player pos - area pos) ). When he'll enter the area stop pushing him - that's all.
Re: [HELP]Allowed Area -
KhaledElkhourashi - 03.03.2014
Make it as DynamicAreas & put streamer plugin.