Skip to content

Retro Fantasy Football

The default command comes from cl_config.lua:

SettingDefaultDescription
Config.CommandrstabletToggles the tablet. Set it to nil to disable the command.

exports.rs_fantasy_football:toggleTablet()

Example open it via an item or a radial menu:

RegisterNetEvent('my-script:openFootball', function()
exports.rs_fantasy_football:toggleTablet()
end)
local isOpenNow = exports.rs_fantasy_football:getState()
-- true: open, false: closed

Example avoid conflicts with another UI:

if exports.rs_fantasy_football:getState() then
return -- already open, do not open a second tablet
end
exports.rs_fantasy_football:setOpenBlock(true) -- block
exports.rs_fantasy_football:setOpenBlock(false) -- allow again

Example lock it while the player is in a match, handcuffed, or inside another menu:

-- Another menu was opened
exports.rs_fantasy_football:setOpenBlock(true)
-- Menu was closed
exports.rs_fantasy_football:setOpenBlock(false)

  • While the tablet is open, closing it with ESC.
  • Language, music, and sound settings belong to the player (Settings menu, 9 languages). They cannot be forced via config.