For those having issues with the Information icon on the phone [attachment removed] you need to add a snipped code on np-phone>server>main.lua after the
RPC.register("phone:getMyBG", function(pSource) function. Should look like [attachment removed]
Code to add:
------------
RPC.register("np-phone:getChips", function(pSource)
local src = source
local user = exports["np-base"]:getModule("Player"):GetUser(src)
local char = user:getVar("character")
local id = char.id
exports.oxmysql:execute("SELECT `chips` FROM characters WHERE id = @id",{['id'] = id}, function(data)
chips = data[1].chips
end)
Wait(100)
return chips
end)
-----------------------
estart server should work after
[attachment removed][/attachment][/attachment][/attachment]