[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
#2

Not bad. Still useful.
Reply
#3

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
Not bad. Still useful.
Yes, thanks. As i said. In future i will make gang system with War event.
Reply
#4

Nice.
Reply
#5

Nice
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)