Left 4 Dead 2

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...
< >
Näytetään 1-11 / 11 kommentista
Maur0 4.12.2022 klo 9.23 
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 lähetti viestin:
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 lähetti viestin:
Maur0 lähetti viestin:
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 lähetti viestin:
ThisIsDumb lähetti viestin:
what is the command to give everyone full health
!give all health
scripted_user_func give,all,health
tysm
Maur0 lähetti viestin:
ThisIsDumb lähetti viestin:
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)
Viimeisin muokkaaja on c00lkidd; 5.5.2023 klo 15.41
ズムイ lähetti viestin:
Maur0 lähetti viestin:
!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.
unlimited ammo and bomb how?
Uh what about noclip ??
Maur0 lähetti viestin:
ズムイ lähetti viestin:
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?
what are all of the commands?
:steamthumbsup:
< >
Näytetään 1-11 / 11 kommentista
Sivua kohden: 1530 50