samp.directory
← Scripts et bibliothèques

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.

Bibliothèque★ 5mis à jour sept. 2023MITPawnsampctl
Ouvrir sur GitHub

Installer avec sampctl

sampctl package install ScavengeSurvive/personal-space

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

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.

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

ScavengeSurvive/personal-space : Bibliothèque SA-MP | samp.directory