
vhs-levels
1) Install SQL into your database before running the script
2) Edit the config to your liking, ensure you edit the framework requirements at the top of the config file
Server-Side Exports
local src = source -- ensure source is defined!
rest of your code....
exports['vhs-levels']:addXP(src, 'police' 69)
local src = source -- ensure src is defnied!
local data = exports['vhs-levels']:getSkillXP(src, 'Police')
print('server-side - getSkillXP: ', json.encode(data))
local src = source -- ensure src is defnied!!
local data = exports['vhs-levels']:getPlayersSkill('Police')
print('server-side - getPlayersSkill: ', json.encode(data))
Client-Side Exports
local data = exports['vhs-levels']:getLevelData('Police')
print('getLevelData: ',json.encode(data))
Last updated