SA-MP Forums Archive
Capture Zone Positioning - 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: Capture Zone Positioning (/showthread.php?tid=582040)



Capture Zone Positioning - jamesmith12 - 17.07.2015

How to position my capture zone ? this is the capturezone in gamemode

Код:
//zone name     			//minX      	//minY      	//maxX      	//maxY      //owner        //CPx       	//CPy       	//CPz         //others - not to be changed
{"Big Ear", 				-420.4035,	1471.412,	-245.2354, 	1646.58,		0,	    -298.1169,	1538.4077,	75.5625,    NO_TEAM, false, -1, -1, -1, -1, -1, 0, Text3D:-1},
But i dont know where i gonna get that numbers of position :/


Re : Capture Zone Positioning - KillerDVX - 17.07.2015

I'll give you an exemple for the minX,minY,maxX,MaxY :

__________MAX
|................|
|....the area.|
|................|
MIN________|

So you get a point's X and Y coords, and an other's X and Y, and the area will be between them.