SA-MP Forums Archive
Gang zone - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gang zone (/showthread.php?tid=75665)



Gang zone - SnAcH - 03.05.2009

Someone Help?


ime trying to make a gang zone i have theese cords

AddPlayerClass(250,618.1837,3053.8538,-1.3378,353.9846,0,0,0,0,0,0); // lowest x
AddStaticVehicle(460,259.1269,3459.9241,2.8887,43. 3384,1,3); // high x
AddStaticVehicle(460,576.3348,3784.6021,2.3232,305 .0678,1,3); // high y
AddStaticVehicle(460,359.9377,3580.1436,8.6629,112 .2414,1,3); // low y

i need the gangzonecreate(bla bla bla

i dont know how.

aready read the wiki help?


Re: Gang zone - MenaceX^ - 03.05.2009

Read the wiki again, none has better explaintion better than wiki.


Re: Gang zone - SnAcH - 03.05.2009

yeah but i dont get it coz wiki says this:

Parameters:
(Float:minx, Float:miny, Float:maxx, Float:maxy)
minx The lowest X coordinate in the gangzone.
miny The lowest Y coordinate in the gangzone.
maxx The highest X coordinate in the gangzone.
maxy The highest Y coordinate in the gangzone.

new gangzone;
gangzone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);



but how u get them cords shouldent it be like this?

gangzone = GangZoneCreate(618.1837,3053.8538,3378,353.9846,25 9.1269,3459.9241,2.8887,259.1269,3459.9241,576.334 8,3784.6021,359.9377,3580.1436);



Re: Gang zone - SnAcH - 03.05.2009

any idias?