samp.directory
← Scripts e bibliotecas

ScavengeSurvive/personal-space

A simple library providing an API for player-to-player interactions such as checking which players are stood near each other and detecting who approached who.

Biblioteca★ 5atualizado set. de 2023MITPawnsampctl
Abrir no GitHub

Instalar com o sampctl

sampctl package install ScavengeSurvive/personal-space

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

README.md

personal-space.inc

A simple library providing an API for player-to-player interactions such as checking which players are stood near each other and detecting who approached who.

Installation

Simply install to your project:

sampctl package install ScavengeSurvive/personal-space

Include in your code and begin using the library:

#include <personal-space>

Testing

To test, simply run the package:

sampctl package run

And connect to localhost:7777 with two players to test.

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