Commands
Player commands, the admin command and the default keybinds of nx_phone.
Players mostly open the phone with its keybind or by using the phone
item. The commands below can each be renamed or turned off in
config.lua.
Player commands
/phoneeveryoneOpen the phone you carry, or put it away if it is open. Rename it with Config.Command, or set '' to remove it.
/dropphoneeveryonePut the phone you carry on the ground. Anyone can pick it up unless Config.Drop.AnyoneCanPickUp is false. Not available in a vehicle. Rename it with Config.Drop.Command; it needs Config.Drop.Enabled.
/placephoneeveryoneLay your phone on the surface in front of you, where it shows StandBy and people nearby can read it. Rename it with Config.Screen.StandBy.Command; it needs Config.Screen.StandBy.Enabled and Config.Drop.Enabled.
Admin command
/yapp_verify <handle> [tier]command.yapp_verify ACE or server consoleGive a Yapp profile a verified badge, or remove it. The command is registered as restricted, so an in-game caller needs the ACE. The YappSetVerified export does the same from code.
Arguments
handlestring— The Yapp profile handle, without the @.tier?string— 'blue' (default), 'gold', or 'none' to remove the badge.
# server.cfg
add_ace group.admin command.yapp_verify allowyapp_verify lspd gold
yapp_verify someone noneKeybinds
Both keys are registered with FiveM, so players can rebind them in Settings, Key Bindings, FiveM.
| Default key | Setting | Action |
|---|---|---|
F1 | Config.OpenKey | Open the phone, or put it away. Also takes an incoming call or a notification that has risen on a put-away phone. |
Left Alt | Config.Camera.FocusKey | With the phone open, switch between using the cursor and walking around. In the camera, switch between aiming and the cursor. |
With the phone open, Esc also puts it away. Set either setting to ''
to remove that keybind.