samp.directory
← Skripte und Bibliotheken

devbluen/GangZoneGroup

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

Bibliothek★ 5aktualisiert vor 6 TagenKeine LizenzPawnsampctl
Auf GitHub öffnen

Dieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.

Mit sampctl installieren

sampctl package install devbluen/GangZoneGroup

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

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

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden

devbluen/GangZoneGroup: SA-MP Bibliothek | samp.directory