samp.directory
← Skripte und Bibliotheken

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.

Bibliothek★ 16aktualisiert März 2019Keine LizenzPawnsampctlArchiviert
Auf GitHub öffnen

Der Autor hat dieses Repository archiviert, es wird also nicht mehr gepflegt.

Dieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.

Mit sampctl installieren

sampctl package install Southclaws/samp-weapon-data

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

Hängt von 1 Paket ab

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

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden

Southclaws/samp-weapon-data: SA-MP Bibliothek | samp.directory