Closed realCallMeJ closed 8 months ago
I've fixed this, does it work for you? https://github.com/ND-Framework/ND_Core/commit/4b106d36889e68d8f9090614922859e2a6ad7433
The issue was caused only when joining because the old temporary source was a string
yes, that has fixed the main part of the issue
however, i noticed that this hasn't resolved the problem i mentioned with ND_Characters
after a little more testing, it appears that when attempting to retrieve discord role info through getPlayerServerInfo
, it returns nil
unless the core has been restarted
code:
output before core restart:
output after core restart:
I dont seem to have this problem, I’ll check again and see if I can find what’s causing this for you, you’re on the latest files right?
yeah, i have the latest files and i've just double checked to make sure here's a video that shows the issue better: https://medal.tv/games/gta-v/clips/1JApsZcKd81tKO/d1337lyFaqxY?invite=cr-MSx5WGQsMzczNjk4LA
NDCore.getPlayerServerInfo(source)
appears to always returnnil
, which would probably be the cause behind not being able to see departments in ND_Characters when they have a discord role ID, even if you have a matching role IDheres how im checking this (in case ive done something wrong) code: output: