Left 4 Dead 2
Admin System
How to bind a give command in config
i would like to bind the give command in config, so every time i play the game i just press the button, not the command, i tried alot such as bind "p" "!Give pain_pills" its not working, whether in chat or toggleconsole or my config...
< >
Показані коментарі 111 із 11
The correct command is with the "scripted_user_func" to hide when you type in the console and not show in the chatbox. And you replace the space with commas.

Examples:
bind p "scripted_user_func give,pain_pills"
bind o "scripted_user_func max_health,all,200"
bind l "scripted_user_func kill,all"
bind k "scripted_user_func velocity,0,0,500"
Цитата допису Maur0:
The correct command is with the "scripted_user_func" to hide when you type in the console and not show in the chatbox. And you replace the space with commas.

Examples:
bind p "scripted_user_func give,pain_pills"
bind o "scripted_user_func max_health,all,200"
bind l "scripted_user_func kill,all"
bind k "scripted_user_func velocity,0,0,500"
what is the command to give everyone full health
Цитата допису ThisIsDumb:
Цитата допису Maur0:
The correct command is with the "scripted_user_func" to hide when you type in the console and not show in the chatbox. And you replace the space with commas.

Examples:
bind p "scripted_user_func give,pain_pills"
bind o "scripted_user_func max_health,all,200"
bind l "scripted_user_func kill,all"
bind k "scripted_user_func velocity,0,0,500"
what is the command to give everyone full health
!give all health
scripted_user_func give,all,health
Цитата допису Maur0:
Цитата допису ThisIsDumb:
what is the command to give everyone full health
!give all health
scripted_user_func give,all,health
tysm
Цитата допису Maur0:
Цитата допису ThisIsDumb:
what is the command to give everyone full health
!give all health
scripted_user_func give,all,health
What is the command to spawn Special Infected? (With a Keybind, so basically adding a keybind to spawn Special Infected)
Автор останньої редакції: c00lkidd; 5 трав. 2023 о 15:41
Цитата допису ズムイ:
Цитата допису Maur0:
!give all health
scripted_user_func give,all,health
What is the command to spawn Special Infected? (With a Keybind, so basically adding a keybind to spawn Special Infected)
bind n "scripted_user_func z_spawn,smoker"
bind n "scripted_user_func z_spawn,boomer"
bind n "scripted_user_func z_spawn,hunter"
bind n "scripted_user_func z_spawn,spitter"
bind n "scripted_user_func z_spawn,jockey"
bind n "scripted_user_func z_spawn,charger"
bind n "scripted_user_func z_spawn,tank"
bind n "scripted_user_func z_spawn,witch"

Replace the N with another letter or number more comfortable for you.
Цитата допису Maur0:
Цитата допису ズムイ:
What is the command to spawn Special Infected? (With a Keybind, so basically adding a keybind to spawn Special Infected)
bind n "scripted_user_func z_spawn,smoker"
bind n "scripted_user_func z_spawn,boomer"
bind n "scripted_user_func z_spawn,hunter"
bind n "scripted_user_func z_spawn,spitter"
bind n "scripted_user_func z_spawn,jockey"
bind n "scripted_user_func z_spawn,charger"
bind n "scripted_user_func z_spawn,tank"
bind n "scripted_user_func z_spawn,witch"

Replace the N with another letter or number more comfortable for you.
what if i want to randomly spawn boomer or spitter, what code should i type in the console?
< >
Показані коментарі 111 із 11
На сторінку: 1530 50