---Creates a player object and assigns it to the class
---@param data framework_class
function Controller.createPlayer(data)
---@diagnostic disable-next-line: invisible
Players[data.source] = framework:new(data)
TriggerEvent('Renewed-Lib:server:playerLoaded', data.source, data)
end
new is an undefined field
SCRIPT ERROR: @Renewed-Lib/framework/server.lua:83: table index is nil
---Creates a player object and assigns it to the class
---@param data framework_class
function Controller.createPlayer(data)
---@diagnostic disable-next-line: invisible
Players[data.source] = framework:new(data)
TriggerEvent('Renewed-Lib:server:playerLoaded', data.source, data)
end
new is an undefined field
SCRIPT ERROR: @Renewed-Lib/framework/server.lua:83: table index is nil