Difference between revisions of "Binds"

From Tycoon Gaming
Line 11: Line 11:
 
List of all binded '''KEYs''' (works only on a '''canary''' build of FiveM)
 
List of all binded '''KEYs''' (works only on a '''canary''' build of FiveM)
 
*<b><big>bind</big></b>
 
*<b><big>bind</big></b>
 +
{{Note|List of binds can also be accessed in <b>%appdata%/CitizenFX</b> in the file named <b>fivem.cfg</b>|info}}
 
<br>
 
<br>
 
{{Note|<big>'''''Disclaimer: To bind multiple functions on one KEY do it all at once using <b>;</b> between binds, ALSO remember to unbind your bind before binding other commands to the same KEY otherwise you might get flagged for flooding and get kicked / suspended!!! Also try not to hold/spam the bounded KEY as you also might get kicked for that.'''''</big>|warn}}
 
{{Note|<big>'''''Disclaimer: To bind multiple functions on one KEY do it all at once using <b>;</b> between binds, ALSO remember to unbind your bind before binding other commands to the same KEY otherwise you might get flagged for flooding and get kicked / suspended!!! Also try not to hold/spam the bounded KEY as you also might get kicked for that.'''''</big>|warn}}

Revision as of 16:03, 23 January 2022

Binding, what's that?

Binding is a process of connecting a KEY (keyboard / mouse / pad) with various functions (Commands). Mostly used to ease, improve and speed up various processes on the Transport Tycoon servers. It can be used to bind standard chat commands such as /vote, but it can also be used in more advanced ways like to bind items and vRP functions.

How to bind?

Press F8 - the ingame console should open - then fill in the bind template given below depending on your need and paste it in the console.

To bind something to a KEY

  • bind KEY_TYPE KEY "FUNCTION OPTION MODIFIER"

To unbind a KEY

  • unbind KEY_TYPE KEY

List of all binded KEYs (works only on a canary build of FiveM)

  • bind
List of binds can also be accessed in %appdata%/CitizenFX in the file named fivem.cfg


Disclaimer: To bind multiple functions on one KEY do it all at once using ; between binds, ALSO remember to unbind your bind before binding other commands to the same KEY otherwise you might get flagged for flooding and get kicked / suspended!!! Also try not to hold/spam the bounded KEY as you also might get kicked for that.
Example: bind keyboard k "rm_backpack;item gut_knife gut -1"

KEY_TYPE & KEY

KEY_TYPE is a parameter describing input devices, such as a keyboard (KEYBOARD), mouse buttons (MOUSE_BUTTON), or mouse wheel (MOUSE_WHEEL).
KEY is an parameter for a key. Numbers (1,2,3...) and letters (a,b,c...) can be used by just pressing your wanted KEY, but for majority of keys their full name needs to be entered, for example: , = COMMA; = = EQUALS; / = SLASH; left click = MOUSE_LEFT.
Refer to FiveM Docs for full list of KEY_TYPEs & KEYs

Do not open FiveM Docs page in-game!

FUNCTION

Enter your wanted function here, keep in mind that function is a command so any ingame command can be used here, for more info refer to Bind Data Table/Functions or Commands Page.
Remember to use " " when using more than one word in a bind!

OPTION

Option is used with /item command such as "item gut_knife gut" or "item prefix_pack_3 use" as a parameter deciding what an item will do.
Refer to Bind Data Table for a list of all options and their description or to check which item has which options.

MODIFIER

Mostly used with /item command, simulates the press of a button. -1 is Left Arrow; 0 or none is Enter; 1 is Right Arrow.

Bind Data Table

Disclaimer: Any chat command can be used as function and vice versa

Function Info
"item ITEM_ID OPTION MODIFIER" Use OPTION of ITEM_ID's with possible MODIFIER
For example: "item exp_token|piloting|piloting convert -1"
rm_toggleLock Toggle Vehicle Lock
rm_apark Auto-Park
rm_spawnJetski Spawn Jetski
rm_spawnBicycle Spawn Bicycle
rm_toggleengine Toggle ON/OFF Engine
rm_trunk Open Vehicle Trunk
rm_vehicle Open Vehicle Menu
rm_vehiclecards Open Vehicle Cards Menu
rm_backpack Open Backpack
rm_inventory Open Inventory
rm_point Point
driver_menu Open Driver Menu
timer_start Timer: Start
timer_resume Timer: Resume
timer_stop Timer: Stop
timer_pause Timer: Pause
dev_pos Open Position Menu (requires being in a Company)
seat -1 Shuffle to Driver Seat
vrp-openAtm Open Portable Atm
vrp-take_pills Take Pills [OUTDATED]
vrp-apply_bandages Apply Bandage
vrp-reopen Re-Open Transformer Menu
watermark Turn off Beta watermark

Examples

Expand


Perfect bind for Airline Pilots Converts all airline & player tokens into BXP after pressing F2

Expand


Convert one Gambling Token into Bonus EXP after pressing F1 on keyboard, no modifier means simulating Enter (option 1x):

Expand


Use rotten potato's freecam feature by pressing F2

Expand


Changes current job into a Mechanic after pressing . (DECIMAL) on numpad:

Expand


Re-opens transformer after pressing L on keyboard:

Expand


Guts all fishes in player's inventory after pressing = (EQUALS) on keyboard:

Expand


Opens faction menu after pressing mouse button 4:

Expand


Converts all EXP Tokens into Bonus EXP after pressing K on keyboard: