- Joined
- Jul 1, 2022
- Messages
- 227
- Reaction score
- 1,667
- Points
- 93
0%
LEVEL 1
1000 XP
Download:
SQL is included
Previews:
https://i.imgur.com/lUMXWEP.png
https://i.imgur.com/uCTEeC8.png
https://i.imgur.com/RS3fLBG.png
Multichar fix:
Previews:
https://i.imgur.com/lUMXWEP.png
https://i.imgur.com/uCTEeC8.png
https://i.imgur.com/RS3fLBG.png
Multichar fix:
Code:
RegisterServerEvent("divine-multichar:SetIsCreated", function()
local src = source
-- local user = exports["divine-fw"]:GetModule("Player"):GetUser(src)
local user = exports['divine-fw']:GetModule('Player')
local user = exports['divine-fw']:GetModule('GetPlayer')(src)
local characterId = user["PlayerData"]["id"]
exports.oxmysql:execute("UPDATE characters SET iscreated = @iscreated WHERE id = @id", {['iscreated'] = '0', ['id'] = characterId})
end)