[Include] s3Zone - Gang Zone Functions
#1

s3Zone
Gang Zone Functions
As my second script i will present my gang zone functions. Very easy include featured by easy functions. This small script is useful for any TDM server. Is not any of huge, extreme script. Maybe something what make your scripting easier.

Version 1.2
Код:
- Fixed some mistakes
To correct render gangzones add this line to OnPlayerConnect
pawn Код:
for (new i=0;i < s3Zone_g_GangZones; i++)
{
     GangZoneShowForPlayer(playerid, s3Zone_g_Zone[ i ][ Zone_id ], s3Zone_g_Color[ GetGangZoneOwner(i) ]);
}
I paste here all functions related with this include:

pawn Код:
stock AddGangTeam(color);
stock CreateGangZone(Float:minx, Float:miny, Float:maxx, Float:maxy, s_Owner);
stock IsPlayerInGangZone(playerid, zoneid);
stock IsPlayerInAnyGangZone(playerid);
stock SetGangZoneFlash(FlashColor);
stock SetGangZoneOwnerTeam(zoneid, n_Owner);
stock GetPlayerGangZone(playerid);
stock GetGangZoneOwner(zoneid);
- In future i wanna make Extend Gang Zone System which will include Wars and all things around it.

Download:
Version 1.0: http://pastebin.com/kKSvr32w
Version 1.2: http://pastebin.com/xajJscV8
Reply


Messages In This Thread
s3Zone - Gang Zone Functions - by s3rious - 28.02.2012, 20:56
Re: s3Zone - Gang Zone Functions - by TheArcher - 28.02.2012, 21:01
Re: s3Zone - Gang Zone Functions - by s3rious - 28.02.2012, 21:02
Re: s3Zone - Gang Zone Functions - by Shadow_ - 28.02.2012, 22:28
Re: s3Zone - Gang Zone Functions - by bye - 03.08.2012, 03:38

Forum Jump:


Users browsing this thread: 1 Guest(s)