samp.directory
← Scripts et bibliothèques

duydang2311/base-simplicity

Pas de description sur GitHub.

Bibliothèque★ 2mis à jour juil. 2021Pas 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 duydang2311/base-simplicity

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

README.md

base-simplicity

EDIT: Seems like I have written many messy PawnPlus task asynchronous operations and over complicated them when they could have been more simplified.

Introduction

A simple base using Pawn along with NodeJS + MongoDB

Mainly using RESTful API to send request and response to each other

Requirement

Having these installed:

  • NodeJS

  • MongoDB

Installation

Simply clone this repository:

git clone https://github.com/duydang2311/base-simplicity.git

Setup

Inside the main folder, run the following command to install all the Pawn dependencies:

sampctl package ensure

Inside the folder node-db, run the following command to install all the npm packages:

npm install

Usage

To start the gamemode, be sure to run the MongoDB server first by running this following command inside the folder node-db:

npm start

After that, start your gamemode (samp-server.exe or sampctl package run)

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

duydang2311/base-simplicity : Bibliothèque SA-MP | samp.directory