28.02.2012, 20:56
(
Последний раз редактировалось s3rious; 01.03.2012 в 14:02.
)
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.Gang Zone Functions
Version 1.2
Код:
- Fixed some mistakes
pawn Код:
for (new i=0;i < s3Zone_g_GangZones; i++)
{
GangZoneShowForPlayer(playerid, s3Zone_g_Zone[ i ][ Zone_id ], s3Zone_g_Color[ GetGangZoneOwner(i) ]);
}
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);
Download:
Version 1.0: http://pastebin.com/kKSvr32w
Version 1.2: http://pastebin.com/xajJscV8