Thank!
Also, I get this error when I’m trying to use the ND_Core framework (useServerSide = true)
[script:id_card] SCRIPT ERROR: @id_card/config.lua:31: No such export getCharacterInfo in resource ND_Core
This error pops up when I use the command /showid (id). Not sure if the newer updates of ND_Core changed so that this can’t find the character info or something like that.
function getIdentity(source)
local NDCore = exports["ND_Core"]:GetCoreObject()
local selectedCharacter = NDCore.Functions.GetSelectedCharacter()
local firstName = selectedCharacter.firstName
local lastName = selectedCharacter.lastName
local dob = selectedCharacter.dob
local gender = selectedCharacter.gender
return firstName, lastName, dob, gender
end
might need ND_NoCharacters? Unless of course you do use the full framework with characters.
Added this in and it came up with a new error
SCRIPT ERROR: @id_card/config.lua:32: attempt to call a nil value (field ‘GetSelectedCharacter’)
when are the updates coming that have been mentioned
1 Like
Forgot to let people know here but It’s been updated, the update was many months ago and also got few more updates. I haven’t created a new video I will do that now.
There’s many new features now and it’s way better and multiple different cards types can be added.