SA-MP Forums Archive
GangZone, is this coordinates are correct? - 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: GangZone, is this coordinates are correct? (/showthread.php?tid=512322)



GangZone, is this coordinates are correct? - rOps - 10.05.2014

Hello, is this coordinates are correct? Because I don't see a GangZone...

HTML Code:
SafetyZoneID[0] = CreateZone("Safe Zone", 1578.0149, 1724.1713, 1636.7488, 1862.6855,             true, 0xFF233DAA);

AddPlayerClass(188, 1578.0149, 1723.8729, 10.6500, 144.7714, 0, 0, 0, 0 ,0, 0); // safe zone 1
AddPlayerClass(188, 1636.4481, 1724.1713, 10.6500, 239.7122, 0, 0, 0, 0, 0, 0); // safe zone 2
AddPlayerClass(188, 1636.7488, 1862.6713, 10.6500, 314.9129, 0, 0, 0, 0, 0, 0); // safe zone 3
AddPlayerClass(188, 1578.3579, 1862.6855, 10.6500, 50.4805, 0, 0, 0, 0, 0, 0); // safe zone 4



Re: GangZone, is this coordinates are correct? - rOps - 10.05.2014

bump


Re: GangZone, is this coordinates are correct? - Deal-or-die - 10.05.2014

To create a gangzone I believe you're looking for GangZoneCreate
pawn Code:
GangZoneCreate(Float:minx, Float:miny, Float:maxx, Float:maxy);
AddPlayerClass is for creating a player class in the spawn menu.
pawn Code:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);