Groups are not replicated client side at reboot
CeebDev opened this issue · 0 comments
CeebDev commented
Repro
Insert this command to a client side file of a script launching at start of server
RegisterCommand('getgroup', function()
local player = Ox.GetPlayer()
if not player or not player.charId then return end
local group, rank = player.getGroup('police')
print('Group', group, rank)
end)
-
Reboot or Start your server
-
Connect to server and select your character with a police group registered
-
Run the command
getgroup
, check if it returnGroup nil nil
-
Restart the script
-
Now check if it return the good value
Group police 2
Result expected
It has to return the good value at start