samp.directory
← Skrypty i biblioteki

devbluen/GangZoneGroup

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

Biblioteka★ 5zaktualizowano 6 dni temuBrak licencjiPawnsampctl
Otwórz na GitHubie

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

Zainstaluj za pomocą sampctl

sampctl package install devbluen/GangZoneGroup

Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

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

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

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