samp.directory
← Scripts e bibliotecas

devbluen/GangZoneGroup

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

Biblioteca★ 5atualizado há 6 diasSem licençaPawnsampctl
Abrir no GitHub

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

Instalar com o sampctl

sampctl package install devbluen/GangZoneGroup

Execute na pasta do seu projeto. O sampctl baixa o pacote e as dependências dele.

Testar no compilador Pawn →

Adiciona os arquivos de include dele, com as bibliotecas de que depende, ao compilador Pawn no seu navegador, prontos para incluir num 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

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página

devbluen/GangZoneGroup: Biblioteca de SA-MP | samp.directory