samp.directory
← Scripts et bibliothèques

Southclaws/samp-weapon-data

With this library you can finely tune weapon damage based on distance. Using min/max range values, a weapon's damage varies depending on the distance between the shooter and the target.

Bibliothèque★ 16mis à jour mars 2019Pas de licencePawnsampctlArchivé
Ouvrir sur GitHub

L’auteur a archivé ce dépôt, il n’est donc plus maintenu.

Ce dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.

Installer avec sampctl

sampctl package install Southclaws/samp-weapon-data

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.

Dépend de 1 paquet

README.md

weapon-data.inc

With this library you can finely tune weapon damage based on distance. Using min/max range values, a weapon's damage varies depending on the distance between the shooter and the target.

The values below for damage and magsize are NOT real game data values but custom values based on feedback about weapon balancing from the Scavenge and Survive community. All other data is factual.

Installation

Simply install to your project:

sampctl package install Southclaws/samp-weapon-data

Include in your code and begin using the library:

#include <weapon-data>

Usage

Check source for documentation, all functions are commented.

Testing

To test, simply run the package:

sampctl package run

And connect to localhost:7777 to test.

includelibrarysa-mp

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

Southclaws/samp-weapon-data : Bibliothèque SA-MP | samp.directory