IMPORTANT: Only for folder OTHER: Since when the map is changed, the player_connect event is not executed, in which all important data is transmitted, because of this, after changing the map, some functions will not work for those players who were at the time of changing the map to the server until they are do reconnect
Includes 12 mini lua plugins for CS2
- Mini-admin
- Voting for map
- Ammo and health refill after kill
- Connect/disconnect events announcer
- Team switch announcer
- Advertisement
- Kill announcer with distance print
- Round end/start announcer
- Bomb explode announcer
- Most destructive
- Plant blocker
- Weapon deleter(aka low-leveled
weapon restrictor
)
- WARNING: WEAPON DELETER NOT REFUND MONEY FOR WEAPON)
Ammo and health refiller:
Counter-strike.2.2023.10.12.-.14.11.14.06.1.1.mp4
- Place contains of folder(s) in game\csgo\scripts. If scripts folder not exist then you should to make it
- Add to gamemode_your_gamemode_name.cfg next lines:
You can load all script or 1 one them if u want
sv_cheats 1
script_reload_code your_script_name.lua
sv_cheats 0
sv_cheats 1
script_reload_code your_script_name.lua
script_reload_code your_script_name.lua
script_reload_code your_script_name.lua
sv_cheats 0
- Reload the server
- manual patching vscript.dll:
- Windows VSCRIPT LIBRARY - Counter-Strike Global Offensive\game\bin\win64\vscript.dll
- Linux VSCRIPT LIBRARY - Counter-Strike Global Offensive\game\bin\linuxsteamrt64\libvscript.so
- Open your vscript.dll / libvscript.so via any hex editor
-
- Replace byte-sequence:
- Windows - 01 00 00 00 2b d6 74 61 3b d6
- Linux - 01 0F 84 0A 02 00 00 83 FE 02
- to this byte-sequence:
- Windows - 02 00 00 00 2b d6 74 61 3b d6
- Linux - 02 0F 84 0A 02 00 00 83 FE 01
- Replace byte-sequence:
- Save the changes
- Success!
You can use one of automation methods below:
- method-1(RU manual patching)
- method-2(Autopatcher via metamod plugin)
- method-3(Python script patcher)
- method-4(File replace. Unverified)
For admin:
- kickit <uid> - kick player from server
- setmap <map> - change the map after the specified time interval in seconds
- conexec <convar> - change the value of the server variable
- asay <message> - write a message from the admin to the chat (all characters up to 127 ascii encoding)
- hp <value> - set the number of hp to the player
- size <value> - set the player size (any decimal positive number, for example 0.5 or 49.0)
- clr <uid> <r> <g> <b> <a> - set color and transparency to the player (all RGBA numbers within 0 - 255)
- grav <uid> <value> - set gravity to the player (any decimal positive number, for example 0.5 or 49.0)
- fric <uid> <value> - to set the grip on the surface of the player (any decimal positive number, for example 0.5 or 49.0)
- disarm <uid> <weapon_classname> - remove the player's weapon, for example, weapon_ak47. Delete all weapons - instead of <weapon_classname> write - @all
- killit <uid> - kill the player
- changeteam <uid> <team> - change the player's team (team number or short name. For example ct or 3)
- hudstatus <uid> <status> - turn off or turn off the hood to the player (0 or 1)
For all:
- login <password> - getting administrator rights for a session
- votemap <mapname> - vote for the map
- suicide - kill yourself
Thanks to all those who supported me and my work in any way