samp.directory
← Scripts et bibliothèques

devbluen/GangZoneGroup

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

Bibliothèque★ 5mis à jour il y a 6 joursPas de licencePawnsampctl
Ouvrir sur GitHub

Ce dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.

Installer avec sampctl

sampctl package install devbluen/GangZoneGroup

Lance ceci dans le dossier de ton projet. sampctl télécharge le paquet et ce dont il dépend.

L’essayer dans le compilateur Pawn →

Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un script.

README.md

🌍 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

Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche

devbluen/GangZoneGroup : Bibliothèque SA-MP | samp.directory