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
weapon restrictor
)
Ammo and health refiller:
https://github.com/Quake1011/CS2-plugins-lua/assets/58555031/50b5fdc8-c219-4b69-9a0d-c0cf7e02ea92
You can use one of automation methods below:
1) Place contains of folder(s) in game\csgo\scripts. If scripts folder not exist then you should to make it 2) Add to gamemode_your_gamemode_name.cfg next lines:
You can load all script:
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
or 1 one them:
sv_cheats 1 script_reload_code your_script_name.lua sv_cheats 0
3) Reload the server
@secret_key
- the string required to confirm switching to EDITOR mode@secret_key
- the string required to confirm file reloading@argument
:
last
- delete last created entityall
- delete all created entityMyNam62eOfEni4tity
- delete entities named as for example: MyNam62eOfEni4tity+ To unlock the player limit, add this to the exec params:
-maxplayers 64 -maxplayers_override 64
@secret_key
- required key for SPM activate/deactivate@team
:
ct
- display ct spawnst
- display ct spawnsif the argument is empty, all existing spawns will be displayed
@team
:
ct
- CT-spawn pointt
- T-spawn point