samp.directory
← Scripts et bibliothèques

Mergevos/samp-dev-commands

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

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

Installer avec sampctl

sampctl package install Mergevos/samp-dev-commands

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 3 paquets

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

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

Mergevos/samp-dev-commands : Bibliothèque SA-MP | samp.directory