27.04.2013, 11:21
A command which creates gang zones quickly on the map. The default range specified here is 100, which creates a square model gang zone. You can change it though. It creates square model zones only as it's all set to a specified value, you can change it though.
I use this when I'm lazy to get all the coords.
pawn Code:
CMD:gangzone(playerid, params[])
{
new Float:xp, Float:yp, Float:zp;
GetPlayerPos(playerid, xp, yp, zp);
#pragma unused zp
new range = 100;
new Gangzone = GangZoneCreate(xp-range, yp-range, xp+range, yp+range);
GangZoneShowForAll(Gangzone, 0xFF0000FF);
return 1;
}