SAFScriptsDocs

Commands & keys

On this page

Command names come from config.lua, so yours may differ if you renamed them.

Commands

CommandWhoWhat it does
/tvEveryoneUse the nearest TV within Config.ControlRange
/pickuptvEveryonePick up the TV next to you. Players can only pick up their own
/placetv <item>StaffPlace a TV without an inventory, e.g. /placetv tv_large
/tvfitStaffLine the picture up with a TV model's glass, if one sits off

/tv has no default key. Players can bind it in Settings > Key Bindings > FiveM, or you can set Config.DefaultKey.

Using a TV

ControlWhat it does
MousePoint and click on the screen, scroll the rows
Arrow keys, Enter, BackspaceRemote control
TypingGoes into the focused search or link box
EscPut the remote down
Config.Os.TourKeyStart the showcase tour (off by default)

Placing a TV

Use a TV item to start. A see-through TV follows where you look.

ControlWhat it does
Aim at a wallMounts it flat against the wall
Aim at a floor, table or shelfStands it there, turned to face you
Scroll wheel or Left / RightTurn it
RFlip it around
Left click or EnterPlace
Right click or BackspaceCancel

Showcase tour

Set a key in config.lua:

Lua
Config.Os.TourKey = 'o'

While using a TV, press it and the TV runs through every app on its own with a pointer: browsing rows, searching, playing a video, the news and the radio. The camera slowly drifts around the screen. Press any key to stop. Everything it does is real, so players around you see it too.

SAF Scripts by San Andreas' Finest StoreDiscordsupprot@safrp.org

Not affiliated with or endorsed by Rockstar Games, Take-Two Interactive or Cfx.re.