• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Gamemode] JSON Gamemode Base
#1
JSON Gamemode Base
An OpenMP gamemode that stores player data in a JSON Object using samp-json.

Example of a player object:

Code:
{
  "id": 0,
  "name": "Davorin_Adler",
  "password": "<password-hash-goes-here>"
}


All columns on your MySQL Database will be loaded into your JSON Object.

NOTE:
I have written this initially for a gamemode I was personally going to be working on. However, it turned out to be more of a hassle to work with than anything.
I would recommend you base your new gamemode with this if you are a martyr.

DEPENDENCIES:
pawn-json
MySQL R41-4 by pBlueG
YSI 5.x
- y_inline
- y_inline_mysql
- y_inline_bcrypt
- y_dialog

INSTALL:
https://github.com/sampdevi/samp-json-auth

no sampctl support (yet) I'm too lazy zzzzzz
  Reply


Forum Jump: