#Changing user permissions within the app.
1 messages · Page 1 of 1 (latest)
No, but this is actually coming in the next update.
We found a workaround in the meantime using commands to change it. Ran into another issue with user profiles not loading after restart as well. Thanks for the reply, looking forward to the update!
Yeah I'm also adding a specific command to do it in the script.
I'm planning to add a way for user creators to also change roles below them, so master can change someone from racer -> creator. But that's probably not coming yet 😅
What issue is that? 🤔
The profiles existed, but upon server restart the profiles wouldn't load until we restarted cw-racingapp. Once it started up again, they'd show up fine. I'm not entirely sure what was causing it, but we added a function to check for profiles on the player loading in, as well as checks for citizenIDs
It could be a bridge issue. What core are you using?
QB based but custom. It was absolutely a bridge issue though
Is this not how QBcore does an on player load?
RegisterNetEvent("QBCore:Client:OnPlayerLoaded", function()
initialSetup()
end)
It is. The server just wasn't synching the racer profiles for some reason. We ended up adding a playerSpawned event to trigger profile loading when they connect. I couldn't tell you why OnPlayerLoaded wasn't working for us though, tbh
ah ok, maybe it's just your servers "custom" stuff that caused it then
Yeah 💀 I keep giving @lapis arrow a hard time for it
Blah blah blah
I added a command prompt that allows gods to change people’s rank but it does not take place until the script is reset. We don’t have it set up as a job to grant temporary permissions no so big deal
We did correct the player database not syncing correctly on server restart