02.03.2014, 20:46
(
Last edited by s3rious; 12/01/2015 at 11:12 AM.
)
Gang Zone System
by s3rious
Hey there. Today i want to release my re-worked Gang zone system again. I made some improvements and this version should contain less bugs. by s3rious
There is no need to use s3Zone include. You need just this script as include and customize your gamemode. Add some callback into OnPlayerDeath & OnPlayerDisconnect. I made this new version because i want improve it. Maybe it contain some bugs. I haven't tested it yet so much only some basic actions. There is any callbacks to add into your Gamemode (y_hooks - so you need to download YSI library if you don't have download it).
Creating zone:
To create gangzone you need to add some lines (as always) into OnGameModeInit or OnFilterScriptInit:
pawn Code:
CreateZone(Float:MinX, Float:MinY, Float:MaxX, Float:MaxY, Zone Team, Zone Color)
ZoneTeam is the number (example T_GROOVE as define for some team) which use to be assigned with some variable.
Let's make some example.
pawn Code:
CreateZone(-2761.638, 1284.431, -2514.426, 1521.128, T_BALLAS, 0x8B0A5096);
Team Set Up:
In include you will find function GetTeam which return gTeam[playerid]. You need to change return value such as you are using (In which var you store team ID).
Download:
Solidfiles: Version 1.5 RC-3
Please report me all bugs you find i will be happy if you help me Thank you for rating & commenting