Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

🌍 GangZoneGroup

GangZoneGroup is a tool for SA:MP servers that enables client-side GangZone creation. By bypassing global server limits and applying restrictions on a per-client basis, it gives you full freedom and improved performance for your project.

⚠️ Mandatory Tools

⁉️ How to install

  • Download this include from the releases section
  • Add it to the end of your other includes (#include <GangZoneGroup\GangZoneGroup>)

🧔🏻‍♂️ API

Player GangZone

- GangZonePlayer_Create(playerid, Float:minx, Float:miny, Float:maxx, Float:maxy, color);
- GangZonePlayer_Destroy(playerid, index);
- GangZonePlayer_DestroyAll(playerid);
- GangZonePlayer_Flash(playerid, index, flashcolor);
- GangZonePlayer_StopFlash(playerid, index);
- bool:GangZonePlayer_Blinking(playerid, index);
- GangZonePlayer_GetPosition(playerid, index, &Float:minx, &Float:miny, &Float:maxx, &Float:maxxy);
- GangZonePlayer_GetColor(playerid, index);
- GangZonePlayer_UpdatePosition(playerid, index, Float:minx, Float:miny, Float:maxx, Float:maxxy);
- GangZonePlayer_UpdateColor(playerid, index, color);

Sphere GangZone

- GangZoneSphere_CreateRing(Float:x, Float:y, Float:radius, color, Float:thickness = 2.0, strips = 0);
- GangZoneSphere_CreateFill(Float:x, Float:y, Float:radius, color, strips = DEFAULT_GANGZONE_STRIPS);
- GangZoneSphere_CreateInverted(Float:x, Float:y, Float:radius, color, strips = DEFAULT_GANGZONE_STRIPS);
- GangZoneSphere_Destroy(index);
- GangZoneSphere_HideAll(index);    // but not destroy, only hide
- GangZoneSphere_Flash(index, flashcolor);
- GangZoneSphere_StopFlash(index);
- GangZoneSphere_UpdatePos(index, Float:x, Float:y);
- GangZoneSphere_UpdateRadius(index, Float:radius);
- GangZoneSphere_UpdateColor(index, color);
- GangZoneSphere_UpdateThickness(index, Float:thickness);
- GangZoneSphere_UpdateData(index, Float:x, Float:y, Float:radius);
- bool:GangZoneSphere_IsPoint(index, Float:x, Float:y);

- GangZoneSphere_ShowPlayer(playerid, index);
- GangZoneSphere_HidePlayer(playerid, index);
- GangZoneSphere_FlashPlayer(playerid, index, flashcolor);
- GangZoneSphere_StopFlashPlayer(playerid, index);
- bool:GangZoneSphere_PlayerIn(playerid, index);

📷 Screenshots

sa-mp-0000064 sa-mp-0000059 sa-mp-0000066 sa-mp-0000067

About

GangZone creation package for open-mp. Explore your creative world.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages