Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. #include <YSI\y_hooks>
  2. #define MAX_ZONES 50
  3. //==============================================================================
  4. //--->>> Gang Zones
  5. //==============================================================================
  6. enum ZoneInfo
  7. {
  8. Float:minX,
  9. Float:minY,
  10. Float:maxX,
  11. Float:maxY
  12. }
  13.  
  14. new GangZone[][ZoneInfo] =
  15. {
  16. {96.8898,1798.6938,390.6672,2081.8325}
  17. };
  18.  
  19.  
  20. hook OnGameModeInit()
  21. {
  22. CreateGangZones();
  23. return 1;
  24. }
  25.  
  26. stock CreateGangZones()
  27. {
  28. for(new i = 0; i < MAX_ZONES; i++)
  29. {
  30. GangZoneCreate(GangZone[i][minX],GangZone[i][minY],GangZone[i][maxX],GangZone[i][maxY]);
  31. }
  32. return 1;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement