← Skrypty i biblioteki
Mergevos/samp-dev-commands
A minimal repo containing all vital commands for testing libraries and gamemodes.
Biblioteka★ 3zaktualizowano wrz 2023MITPawnsampctl
Otwórz na GitHubieZainstaluj za pomocą sampctl
sampctl package install Mergevos/samp-dev-commands
Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.
Wypróbuj w kompilatorze Pawn →
Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.
Zależy od 3 pakietów
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
Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem