Jump to content
OzzyGaming
CubixNZ

Setting up FiveM Keybinds for commands

Recommended Posts

This is mainly for Police / EMS factions to help with quicker creation, deletion and picking up of prop items. However the same method for assigning keybinds can also be applied for any commands that you would like to assign. To do this you will need to open the console with F8.

bind <mapper> <input> <command>
Binds an input to execute the specified command when pressed in-game.

Example: bind keyboard F9 "say hi; wait 250; say bye"

unbind <mapper> <input>
Unbinds all commands bound to the specified input.

Example: unbind keyboard F9

Prop creation, pickup and removal (examples)

There are examples how to format the keybind into console, adjust the key input and command you want to assign to your preference. This could also be applied for commands such as /me Cries - /tow - /showbadge

/pickupordropprop - bind keyboard Z "pickupordropprop"

/removelastprop - bind keyboard L "removelastprop"

/createprop <item> - bind keyboard J "createprop cone" / bind keyboard P "createprop pdbarrier" / bind keyboard L "createprop medbag"

/pd-deatharea - bind keyboard I "pd-deatharea"

/pd-deathcause - bind keyboard U "pd-deathcause"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...