How to restrict an area for all the players?
#1

I want to script a server for a specific area and I don't want the players to be able to leave that area. Let's say It's a small village, like Blueberry or Dilimore and they cannot leave from there. I can do it with mapping, but it's a pain in the ass and takes a lot of time. There was this script that would print: Player out of bounds if the player attempted to leave a certain area, like out of jail with hacks and stuff. Something similar. I searched ******, but nothing, so I'm asking here
Reply
#2

Код:
SetPlayerWorldBounds (playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min);
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)