Revision as of 17:52, 11 May 2021 by Pitula101 (talk | contribs) (CHAOS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Binds

From Tycoon Gaming

Binding, what's that?

Binding is a process of connecting a KEY (keyboard / mouse / pad) with various Commands and functions. Mostly used to ease, improve and speed up vorious 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 "COMMAND/FUNCTION OPTION MODIFIER"

To unbind a KEY

  • unbind KEY_TYPE KEY

List of all binded KEYs

  • bind


Disclaimer: To bind multiple commands / functions on one KEY do it all at once using ; between binds, otherwise you might get flagged for flooding and kicked / suspended!!!

Example: bind keyboard k "rm_backpack;item gut_knife gut -1"

KEY_TYPE & KEY

KEY_TYPE is an parameter describing input device, such as 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
Note: Do only open the link in an external Browser!

COMMAND/FUNCTION

Enter your wanted command or function here, refer to Bind Data Table/Functions for functions or Commands Page for commands.
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 list of all options and their description or to check which item has which options.

MODIFIER

Mostly used with /item command, simulates 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

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

  • bind keyboard F1 "item exp_token|casino|casino convert"


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

  • bind keyboard DECIMAL "item group_card|mechanic|Mechanic become"


Re-opens transformer after pressing L on keyboard:

  • bind keyboard L "vrp-reopen"

Guts all fishes in player's inventory after pressing = (EQUALS) on keyboard, -1 simulates Left Arrow (option all):

  • bind keyboard EQUALS "item gut_knife gut -1"


Opens faction menu after pressing mouse button 4:

  • bind mouse_button MOUSE_EXTRABTN2 "faction"


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

  • bind keyboard K "item exp_token|piloting|piloting convert -1;item exp_token|piloting|heli convert -1;item exp_token|piloting|cargos convert -1;item exp_token|trucking|trucking convert -1;item exp_token|trucking|postop convert -1;item exp_token|trucking|garbage convert -1;item exp_token|physical|strength convert -1;item exp_token|ems|ems convert -1;item exp_token|train|train convert -1;item exp_token|player|player convert -1;item exp_token|business|business convert -1;item exp_token|casino|casino convert -1"