Rectangle
#1

Hi,

I have Rectangle, minx,miny,maxx,maxy, how to teleport player outside that rectangle? like i want player can't get inside, i already use get coordinates in back of player, but sometimes i need just teleport somewhere near that rectangle
Reply
#2

new Area;
#define AreaPos -273.4105,-60.5778,-122.2512,60.6611//minx,miny,maxx,maxy
Area = CreateDynamicRectangle(AreaPos);
Is this right?
Reply
#3

pick a spot and use setplayerpos?

maxx+y, maxy+1
Reply
#4

Yes, but i need to teleport now always in one same position i want random
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)