Limit object editing to a certain area? [Brainstorming]
#1

Hey guys!

As you all know editing objects became the thing in SA:MP and after a certain update we were able to edit objects in-game with the object editor.

Now there are servers where you can build your own house, but how do you limit the area the player can build in?

I already went ahead and added a 15m plot hole which detects if the object the player is editing is out of it but I don't know what to do when the object leaves the 15m area.

If I try to move it back to its original location without stopping the editing it will keep popping back to the location the player is moving it, allowing him to keep on surfing / going through walls (that's the point, to stop players from flying through everything on an object [surfing]).

If I stop the editing process at the milisecond the player is out of the boundaries the mouse will disappear so the player won't be able to properly edit objects without reconnecting, the mouse will not re-appear.

I'd like to think that some servers already resolved this issue because I've seen some servers with plot systems.

So lets work out a solution to this?

Thanks to everyone who will reply and try to fix this issue!

~ Gergő
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)