Garry's Mod

Garry's Mod

1,119 ratings
Консольные команды//Console commands
By MaximДэп
Это руководство поможет узнать некоторые консольные команды.

This guide will help you learn some console commands.
2
   
Award
Favorite
Favorited
Unfavorite
Русский
Основное
sbox_noclip 1 // Разрешить режим полёта 0-Выкл. 1-Вкл.
sbox_weapons 1 // Давать оружия при возрождение 0-Выкл. 1-Вкл.
sbox_godmode 1 // Бесмертие 0-Выкл. 1-Вкл.
sbox_playershurtplayers 1 // Разрешить убийство игроков 0-Выкл. 1-Вкл.
sbox_bonemanip_npc 1 // Разрешить изменение костей нпс 0-Выкл. 1-Вкл.
sbox_bonemanip_player 1 // Разрешить изменение костей игроков 0-Выкл. 1-Вкл.
sbox_bonemanip_misc 1 // Разрешить изменение костей прочего 0-Выкл. 1-Вкл.
sbox_admin_nolimits 1 // Убрать лимит для админов 0-Выкл. 1-Вкл.
physgun_limited 1 // Ограничить Гравити Ган 0-Выкл. 1-Вкл.
sv_gravity 600 // Устанавливает гравитацию (стандарт 600)
sk_plr_dmg_357 # // Изменить дамаг «Магнума» (вместо # подставляйте свое число). Этот код действует и на остальное оружие, только вместо «357»
sk_max_357 # - Установить максимальное число патронов в обойме для «Магнума». По аналогии с предыдущим кодом - действует и на остальное оружие (просто подставляйте вместо «357» название нужного ствола).
Название оружий:
crossbow (арбалет), grenade (гранаты), pistol (пистолет), ar2 (Pulse Rifle), rpg_round (ракетница), buckshot (шотган), smg1_grenade (подствольный SMG-гранатомет), smg1 (пистолет-пулемет)

Лимиты
sbox_maxprops 200 // Лимит на пропы
sbox_maxnpcs 200 // Лимит на нпс
sbox_maxragdolls 200 // Лимит на рагдолы
sbox_maxthrusters 200 // Лимит на трастеры (Ускорители)
sbox_maxbuttons 200 // Лимит на кнопки
sbox_maxdynamite 200 // Лимит на динамитов
sbox_maxeffects 200 // Лимит на эффекты
sbox_maxemitters 200 // Лимит на эмиттеры
sbox_maxhoverballs 200 // Лимит на ховерболы
sbox_maxballoons 200 // Лимит на шары
sbox_maxlamps 200 // Лимит на лампы
sbox_maxlights 200 // Лимит на свет
sbox_maxvehicles 200 // Лимит на машины/стулья
sbox_maxwheels 200 // Лимит на колёса
Если у вас скачен инструмент Turrent
sbox_maxturrets 200 // Лимит на Turrent
Если у вас скачен инструмент KeyPad
sbox_maxkeypads 200 // Лимит на Кейпады
Если у вас скачен инструмент Door
sbox_maxdoors 200 // Лимит на двери

С читами
Пишим в консоле sv_cheats 1
viewmodel_fov 30 // Установить размер текущего оружия (Стандартно 54)
thirdperson // От 3 лица
firstperson // От 1 лица
god // Режим бессмертия (для откл. сного ведите god)
notarget // Режим незаметности (для откл. сного ведите notarget)
cl_drawhud 0 // Интерфейс 0-Выкл. 1-Вкл.
hurtme 10 // Отнимает определённое количество жизней (10=100-10=90hp)
impulse 82 // Появляется багги (Джип)
impulse 83 // Появляется катамаран (Лодка воздушная)
Impulse 203 // Удаление объекта, на который направлена камера
impulse 101 // Даёт все оружия HL2 и много патронов к ним
mat_depthbias_normal 1 // Режим видения сквозь стены (почувствуй себя читером)
bind i "toggle mat_depthbias_normal 0 1" // Для быстрого переключения
vcollide_wireframe 1 // Показывает модель физических столкновений в виде синей структуры во время запуска 0-Выкл. 1-Вкл.
bind k "toggle vcollide_wireframe 0 1" // Для быстрого переключения
host_timescale 0.1 // Замедленние времени (Стандарт 1.0)
bind o "toggle host_timescale 0.1 1" // Для быстрого переключения

Читы на заряды
Пишим в консоле sv_cheats 1
give item_box_mrounds
box_buckshot (патроны на дробовик), box_mrounds (на автомат), box_sniper_rounds (на снайперку), box_srounds (на пехаль), healthkit (большая аптечка), healthvial (маленькая аптечка), battery (батареи для костюма), suit (костюм), ml_grenade (заряды на ракетницу), ar2_grenade (лимонки для импульсного автомата)
bind u "give item_box_mrounds"

Команда для создания NPC
Пишим в консоле sv_cheats 1
npc_create npc_Название // Вместо 'Название' писать вот что :
Повстанцы
alyx, barney, eli, mossman, dog, gman, citizen, kleiner, vortigaunt
Комбайны
metropolice, combine_s, breen, stalker, combinedropship, combinegunship, helicopter, manhack
Монстры
zombie, zombie_torso, fastzombie, poisonzombie, zombine (EP1), antlion, antlionguard, ministrider (EP1), headcrab, headcrab_fast, headcrab_poison, barnacle
Нейтралы
monk, pigeon, seagull, crow

Читы с грави пушкой
Пишим в консоле sv_cheats 1
physcannon_maxforce # - изменить силу, с которой гравипушка толкает предметы.
physcannon_maxmass # - изменить максимальный размер предметов, которые может притянуть гравипушка.
physcannon_pullforce # - изменить скорость, с которой гравипушка притягивает предметы.
physcannon_tracelength # - изменить максимальное расстояние, с которого гравипушка может притягивать предметы.
physcannon_cone # - изменить расстояние, с которого гравипушка может поднимать предметы в воздух.
Можно создавать команды командой alias , но эти команды будут состоять из других команд. Это можно в отличие от бинда можно использовать для создания +команд, то есть когда вы нажмете кнопку - выполнится одно действие, когда отпустите – другое
Alias +команда "действие когда нажмете кнопку"
Alias -команда "действие, когда отпустите кнопку"

Alias +megaphyscannon "physcannon_maxmass 700; physcannon_maxforce 9000"
Alias -megaphyscannon "physcannon_maxmass 250; physcannon_maxforce 1500" // Возвращает стандартные
Bind alt "+megaphyscannon"

Для сервера
kick SundeX // Кикает игрока
banid <минуты> <Steam ID или порядковый номер> // Банит игрока
Перманентный бан - цифра 0 (навсегда бан)
Как узнать SteamID или скопировать нестандартный ник?
status // Выдаёт в консоле таблицу с ником и ID Steam
Как поменять карту на сервере?
map gm_flatgrass // Кикает всех людей на сервере кроме вас и меняет карту
changelevel gm_flatgrass // Меняет карту
Как поставить пароль на сервере?
sv_password 123
Моего друга кикает с ошибкой "Too Many Lua Errors" что делать?
sv_kickerrornum 0
Как мне быстро перезапустить сервер?
restart
Может быть полезно для удаления игроков со слишком высоким и низким интернетов
sv_minrate 0 // Мин. передача пакетов (Стандартно 1)
sv_maxrate 10000 // Макс. передача пакетов (Стандартно 5000)
Прочее команды для сервера
mp_flashlight 0 // Возможности использования фонарика 0-Выкл. 1-Вкл.
sv_noclipspeed 50 // Изменяет скорость Ноклипа (Стандартно 5)
ai_disabled 1 // Отключить NPC 0-Выкл. 1-Вкл.
ai_ignoreplayers 1 // NPC игнорят игроков 0-Выкл. 1-Вкл.

Также вы можете скачать нужные аддоны для сервера
http://steamcommunity.com/sharedfiles/filedetails/?id=401155923
Мои подписки
http://steamcommunity.com/sharedfiles/filedetails/?id=404712788

Прочее
kill // Убивает вашего персонажа
disconnect // Выйти из сервера
quit // Выйти из игры
killserver // Когда вы хост, вписывая команду можно быстро выйти в главное меню
retry // Переконнект к текущему серверу
hud_deathnotice_time 0 // Время появление иконок убийств в секундах (Стандарт 6 - 6 секунд)
unbind кнопка // Отбиндивает кнопку

13 Команд для нестандартных анимаций персонажа
act cheer
act laugh
act muscle
act zombie
act robot
act dance
act agree
act becon
act disagree
act salute
act wave
act forward
act halt
act pers
Чтобы каждый раз не писать команду можете забиндить на ненужные клавиши/цифры.
Пример:
bind o "act salute"

Команды управления
+forward // Двигаться вперед
+back // Двигаться назад
+moveleft // Стрейфиться налево
+moveright // Стрейфиться направо
+left // Повернуться налево
+right // Повернуться направо
+jump // Подпрыгнуть
+duck // Присесть
+use // Использовать
+attack // Стрелять
+attack2 // Альтернативная стрельба / дополнительная функция оружия
+reload // Перезарядить оружие
slot1 // 1-ый слот
slot2 // 2-ой слот
slot3 // 3-ий слот
slot4 // 4-ый слот
slot5 // 5-ый слот
slot6 // 6-ой слот
slot7 // 7-ой слот
slot8 // 8-ой слот
slot9 // 9-ый слот
slot10 // Нулевой слот
impulse 201 // Нарисовать лого
impulse 100 // Включить/выключить фонарь

Если вам понравилось моё руководство то оцените его =)
English
General
sbox_noclip 1 // Enable flight mode 0-Off 1-On
sbox_weapons 1 // Give the weapon at a revival 0-Off 1-On
sbox_godmode 1 // Godmode 0-Off 1-On
sbox_playershurtplayers 1 // Allow killing players 0-Off 1-On
sbox_bonemanip_npc 1 // Enable change of bone NPC 0-Off 1-On
sbox_bonemanip_player 1 // Enable change of bone players 0-Off 1-On
sbox_bonemanip_misc 1 // Allow other bone changes 0-Off 1-On
sbox_admin_nolimits 1 // Remove the limit for admins 0-Off. 1-On.
physgun_limited 1 // Limit the Gravity Gun 0-Off 1-On
sv_gravity 600 // Sets the gravity (Standard 600)
sk_plr_dmg_357 # // Change the damage "Magnum" (instead of # substitute their number). This code applies to the rest of the weapons, but instead of "357"
sk_max_357 # - Set the maximum number of bullets in the clip for "Magnum". By analogy with the previous code - acts on the rest of the weapons (just substitute instead of "357" name of the desired trunk).
The weapon's name:
crossbow (crossbow), grenade (grenades), pistol (pistol), ar2 (Pulse Rifle), rpg_round (rocket launcher), buckshot (shotgun), smg1_grenade (SMG-grenade), smg1 (SMG)

Limits
sbox_maxprops 200 // Limit for props
sbox_maxnpcs 200 // Limit for NPC
sbox_maxragdolls 200 // Limit on ragdoly
sbox_maxthrusters 200 // Limit on thrusters (accelerators)
sbox_maxbuttons 200 // Limit the buttons
sbox_maxdynamite 200 // Limit on dynamites
sbox_maxeffects 200 // The limit on the effects of
sbox_maxemitters 200 // Limit on emitters
sbox_maxhoverballs 200 // Limit on hoverboly
sbox_maxballoons 200 // Limit on balls
sbox_maxlamps 200 // Limit on lamps
sbox_maxlights 200 // Limit the light
sbox_maxvehicles 200 // Limit for machine/chairs
sbox_maxwheels 200 // Limit on wheels
Lf you downloaded the tool Turrent
sbox_maxturrets 200 // Limit on Turrent
Lf you downloaded the tool KeyPad
sbox_maxkeypads 200 // Limit on Keypad
Lf you downloaded the tool Door
sbox_maxdoors 200 // Limit on the door

From cheats
Write sv_cheats 1 in the console
viewmodel_fov 30 // Set the size of the current weapons (Standard 54)
thirdperson // From 3 persons
firstperson // From 1 person
god // Mode of immortality (for off. Again write god)
notarget // Stealth mode (for off. Again write god)
cl_drawhud 0 // interface 0-Off 1-On
hurtme 10 // Takes away a certain number of lives (10=100-10=90hp)
impulse 82 // Appears buggy (Jeep)
impulse 83 // Appears catamaran (Marine Air)
impulse 203 // Remove the object on which the camera direction
impulse 101 // Gives all weapons HL2 and a lot of bullets to them
mat_depthbias_normal 1 // Mode vision through walls
bind i "toggle mat_depthbias_normal 0 1" // To quickly switch
vcollide_wireframe 1 // Shows model physical collisions in a blue structure during start-up 0-Off 1-On
bind k "toggle vcollide_wireframe 0 1" // To quickly switch
host_timescale 0.1 // Slowing down time (Standard 1.0)
bind o "toggle host_timescale 0.1 1" // To quickly switch

Cheats for charges:
give item_box_mrounds
box_buckshot (ammo for the shotgun), box_mrounds (on the automatic machine), box_sniper_rounds (on the sniper rifle), box_srounds (on pistol), healthkit (big kit), healthvial (small kit), battery (battery for a suit), suit (suit), ml_grenade (charges on a rocket launcher), ar2_grenade (limon for pulse machine)
bind u "give item_box_mrounds"

Command to create NPC
Write sv_cheats 1 in the console
npc_create npc_Name // Instead of 'Name' to write this:
The rebels
alyx, barney, eli, mossman, dog, gman, citizen, kleiner, vortigaunt
Combine
metropolice, combine_s, breen, stalker, combinedropship, combinegunship, helicopter, manhack
Monster
zombie, zombie_torso, fastzombie, poisonzombie, zombine (EP1), antlion, antlionguard, ministrider (EP1), headcrab, headcrab_fast, headcrab_poison, barnacle
Neutrals
monk, pigeon, seagull, crow

Cheats with gravity gun
Write sv_cheats 1 in the console
physcannon_maxforce # - change the force with which gravity gun pushes objects.
physcannon_maxmass # - change the maximum size of objects that can attract gravity gun.
physcannon_pullforce # - change the speed at which gravity gun attracts objects.
physcannon_tracelength # - change the maximum distance at which objects can attract gravipushka.
physcannon_cone # - change the distance from which gravity gun can lift objects into the air.

You can create command command alias, but the team will be composed of other teams. This can be in contrast to the Binda can use to create +commands, that is, when you press the button - do one action when release - other
Alias ​​+command "action when you click"
Alias ​​-command "action when the release button"

Alias ​​+megaphyscannon "physcannon_maxmass 700; physcannon_maxforce 9000"
Alias ​​-megaphyscannon "physcannon_maxmass 250; physcannon_maxforce 1500" // Returns the standard
Bind alt "+ megaphyscannon"

For the server
kick SundeX // kick players
banid <minute> <Steam ID or serial number> // Bans Player
Permanent ban - digit 0 (all banks)
How do I know SteamID or copy a custom nickname?
status // Gives a console table with the nickname and ID Steam
How to change the map on the server?
map gm_flatgrass // Kick all the people on the server except for you and change the map
changelevel gm_flatgrass // Changes the map
How to put a password on the server?
sv_password 123
My friend kicked from server error "Too Many Lua Errors" what to do?
sv_kickerrornum 0
How do I quickly restart the server?
restart
It may be useful to remove players from too high and low ping
sv_minrate 1 // Min. Ping
sv_maxrate 130 // Max. Ping
Other commands to the server
mp_flashlight 0 // Possibilities of using a flashlight 0-Off 1-On
sv_noclipspeed 50 // Changes the speed Noclip (Standard 5)
ai_disabled 1 // Disable NPC 0-Off 1-On
ai_ignoreplayers 1 // NPC players ignore the 0-Off 1-On

You can also download the necessary addons for the server
http://steamcommunity.com/sharedfiles/filedetails/?id=401155923
My subscriptions
http://steamcommunity.com/sharedfiles/filedetails/?id=404712788

Other
kill // Kills your character
disconnect // Exit the server
quit // Exit Game
killserver // When you host, entering the command, you can quickly get to the main menu
retry // Reconnect to the current server
hud_deathnotice_time 0 // Time appearance of icons kills in seconds (Standard 6 - 6 seconds)
unbind button // Otbindivaet button

13 teams for non-standard character animation
act cheer
act laugh
act muscle
act zombie
act robot
act dance
act agree
act becon
act disagree
act salute
act wave
act forward
act halt
act pers
So that every time a team can not write zabindit on unnecessary keys/numbers.
example:
bind o "act salute"

Commands
+forward // Move forward
+back // Move back
+moveleft // Strafe left
+moveright // Strafe right
+left // Turn left
+right // Turn right
+jump // To jump
+duck // Crouch
+use // Use
+attack // Shoot
+attack2 // Alternative shooting / optional feature weapons
+reload // Reload
slot1 // First slot
slot2 // Second slot
slot3 // Third slot
slot4 // Fourth slot
slot5 // Fifth slot
slot6 // Sixth slot
slot7 // Seventh slot
slot8 // Eighth slot
slot9 // Ninth slot
slot10 // Null slot
impulse 201 // Draw logo
impulse 100 // Turn on / off lights

Who knows yet what a team write in comments, then add them to the guide.

If you liked my guide you will appreciate it =)
177 Comments
KILLER 338 Mar 23 @ 2:31am 
Пап я в стакан насрал
Зачем?
Мама в туалете была!
Так это был не шоколадный пудинг
ЕШКЕРЕ!
(Распространяйте этот текст что бы он был популярным!)
(Spread this text to make it popular!)
Volcanis Nov 1, 2024 @ 5:11am 
You literally turned off your comments on the addon,you a big coward smh
Volcanis Nov 1, 2024 @ 5:08am 
how am i supposed to read info when your comments are off on the addon and you have no info on profile,coward
NoahRyeJENSEN Jul 19, 2024 @ 9:05am 
hello may fuck game crash help me
Nawanya Mar 15, 2024 @ 9:45am 
Можно как нибудь поделить игроков на команды?
GAMLET Dec 24, 2023 @ 5:58am 
Зато за ради чего я сюда зашёл, не написал

Как убить игрока через удаленную носоль
Ͽ|Mr_STIGI_33|Ͼ Dec 9, 2023 @ 12:49pm 
а как использовать команду npc_create_equipment. Как я понял команда сразу создает нпс с оружием, но как правильно прописать не знаю.
♡Noёl♡✠♡Kannagi♡ Sep 30, 2023 @ 3:29pm 
люди срочно как можно изменить модель и бодигруппу через консоль?
angelwalkeRR Aug 28, 2022 @ 9:07pm 
ЕДРИТ МАДРИТ сколько ты это писал
S̷a̷n̶h̸o̷s̷ Aug 1, 2022 @ 7:17pm 
@Lyoshka хз это полувозможно