samp.directory
← Skripte und Bibliotheken

duydang2311/base-simplicity

Keine Beschreibung auf GitHub.

Bibliothek★ 2aktualisiert Juli 2021Keine 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 duydang2311/base-simplicity

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

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

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