SA-MP Forums Archive
how to make a gangzone - 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: how to make a gangzone (/showthread.php?tid=316687)



how to make a gangzone - peterory - 08.02.2012

how to make a gangzone
and the other gang can snatch the gangzone

= = sorry for my bad bad english


Re: how to make a gangzone - dowster - 08.02.2012

use a variable (array) with the four corners of the gang zone, and the gang owner stored in another part of the array.

Код:
#define MAX_GANG_ZONES 5
enum gZone_Enum {
    Float:x1,
    Float:x2,
    Float:y1,
    Float:y2,
    ownerGangID };
new gZone[MAX_GANG_ZONES][gZone_Enum];



Re: how to make a gangzone - peterory - 08.02.2012

Quote:
Originally Posted by dowster
Посмотреть сообщение
use a variable (array) with the four corners of the gang zone, and the gang owner stored in another part of the array.

Код:
#define MAX_GANG_ZONES 5
enum gZone_Enum {
    Float:x1,
    Float:x2,
    Float:y1,
    Float:y2,
    ownerGangID };
new gZone[MAX_GANG_ZONES][gZone_Enum];
i know how to create gangzone but i don't know how to snatch it


Re: how to make a gangzone - bleedis - 08.02.2012

http://forum.sa-mp.com/showthread.ph...ighlight=gTeam Tutorial