[HELP]Allowed Area
#1

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 ?
Reply
#2

SetPlayerWorldBounds. Unfortunately, this has to be rectangular. If you need a more complex shape, you'd have to use dynamic areas (streamer).
Reply
#3

wich part in Incongito streamer i should use
Reply
#4

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
Reply
#5

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 =))
Reply
#6

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.
Reply
#7

Make it as DynamicAreas & put streamer plugin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)