mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
* Separated config into server and client files * Moved version "1.0" up so it can be used with the new version checker.
38 lines
1015 B
Lua
38 lines
1015 B
Lua
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
|
|
|
|
author "Andyyy#7666"
|
|
description "ND Framework Core"
|
|
version "1.0"
|
|
|
|
fx_version "cerulean"
|
|
game "gta5"
|
|
lua54 "yes"
|
|
|
|
files {
|
|
"source/ui/index.html",
|
|
"source/ui/js/jquery-3.6.0.min.js",
|
|
"source/ui/js/listener.js",
|
|
"source/ui/Logo.png",
|
|
"source/ui/style.css",
|
|
}
|
|
|
|
ui_page "source/ui/index.html"
|
|
|
|
server_scripts {
|
|
"config_server.lua",
|
|
"source/server/discord.lua",
|
|
"source/server/main.lua",
|
|
"source/server/commands.lua"
|
|
}
|
|
client_scripts {
|
|
"config_client.lua",
|
|
"source/client/main.lua",
|
|
"source/client/commands.lua"
|
|
}
|
|
|
|
exports {
|
|
"getCharacterInfo", -- getCharacterInfo(int), 1 will return return FirstName, 2 LastName, 3 DateOfBirth, 4 Gender, 5 TwtName, 6 Department, 7 Cash, 8 Bank. 9 will return their character id.
|
|
"sendBank", -- sendBank(sendingCharacterId, receiveingPlayerId, amount, sendingPlayerId)
|
|
"sendCash" -- sendCash(sendingCharacterId, amount, sendingPlayerId)
|
|
}
|