Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <YSI\y_hooks>
- #define MAX_ZONES 50
- //==============================================================================
- //--->>> Gang Zones
- //==============================================================================
- enum ZoneInfo
- {
- Float:minX,
- Float:minY,
- Float:maxX,
- Float:maxY
- }
- new GangZone[][ZoneInfo] =
- {
- {96.8898,1798.6938,390.6672,2081.8325}
- };
- hook OnGameModeInit()
- {
- CreateGangZones();
- return 1;
- }
- stock CreateGangZones()
- {
- for(new i = 0; i < MAX_ZONES; i++)
- {
- GangZoneCreate(GangZone[i][minX],GangZone[i][minY],GangZone[i][maxX],GangZone[i][maxY]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement