samp.directory
← Skripte und Bibliotheken

Mergevos/samp-dev-commands

A minimal repo containing all vital commands for testing libraries and gamemodes.

Bibliothek★ 3aktualisiert Sept. 2023MITPawnsampctl
Auf GitHub öffnen

Mit sampctl installieren

sampctl package install Mergevos/samp-dev-commands

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 3 Paketen ab

README.md

open-test-mode

Installation

Simply install to your project:

sampctl package install Mergevos/samp-dev-commands

Include in your code and begin using the library:

#include <dev-commands>

Usage

Simply include it in your gamemode and that's it. You have all needed commands.

CMD:xgoto(playerid, params[]) // goes to precise coords
CMD:vehicle(playerid, params[]) // spawns a vehicle
CMD:weapon(playerid, params[]) // gives a weapon to player or to a target
CMD:health(playerid, params[]) // sets health to a player or to a target
CMD:fixveh(playerid, params[]) // fix player vehicle
CMD:port(playerid, params[]) // ports a player to a target or target to the player

If you find anymore commands or have any more ideas, open pull request.

Testing

To test, simply run the package:

sampctl package run

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

Mergevos/samp-dev-commands: SA-MP Bibliothek | samp.directory