AffinityHub - FiveM and More!

Welcome to AffinityHub, don't forget to join our discord. https://discord.gg/affinityhub

  • NOTE: You can still login with your old Fayzie login details!

[FREE] DIVINE 2.0 Server files [NP-Base]

LUCKYXD

New member

0

0%

Status

Offline

Posts

32

Likes

3

Rep

0

Bits

2

Years of Service

LEVEL 1
1000 XP
Nice
Download: *** Hidden text: cannot be quoted. ***

SQL is included

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)
 
  • Like
Reactions: ~October and LOLZ

Hey

im the best man alive
" data-xf-init="tooltip">VIP

0

0%

Status

Offline

Posts

136

Likes

1,278

Rep

0

Bits

2

Years of Service

LEVEL 1
1000 XP
Download: *** Hidden text: cannot be quoted. ***

SQL is included

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)
+rep
 

1,365

329

7,623

Top