Custom.cfg (#213)
Added custom configs. These are used for replacing some hardcoded strings inside bot code, currently custom cvar for parachute detection is available, as well as custom c4 model names. Added editorconfig, and fixed CRLF for files (was a mix between LF & CRLF). Fixed use-after-free sanitizer error with chatlib. Fixed configs files loaded with memory-loader does not process last line in config files.
This commit is contained in:
parent
ed46e3238d
commit
075bff2988
21 changed files with 533 additions and 404 deletions
22
cfg/addons/yapb/conf/custom.cfg
Normal file
22
cfg/addons/yapb/conf/custom.cfg
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
;
|
||||
; @package: YaPB
|
||||
; @version: 4.2
|
||||
; @author: YaPB Development Team
|
||||
; @filename: yapb.cfg
|
||||
;
|
||||
; Custom configuration file, allow to change some hardcoded stuff in bot code.
|
||||
;
|
||||
|
||||
;
|
||||
; Custom name for C4 model, for servers that replacing C4 model with it's own.
|
||||
; By default it's "c4.mdl" (the models/ path is omitted), so if you need to use
|
||||
; "models/mybomb/mybomb.mdl", you should specify "mybomb/mybomb.mdl".
|
||||
;
|
||||
C4ModelName = c4.mdl
|
||||
|
||||
;
|
||||
; Custon cvar name for parachute handling, there are all the different plugins that
|
||||
; handles parachute (AMX Parachute, AMX Parachute Lite, etc..), you can specify needed
|
||||
; cvar here.
|
||||
;
|
||||
AMXParachuteCvar = sv_parachute
|
||||
|
|
@ -1994,9 +1994,3 @@ You're launched standalone version of %s. Metamod is not installed or not enable
|
|||
|
||||
[TRANSLATED]
|
||||
Вы запустили автономную версию %s. Metamod не установлен или не включён!
|
||||
|
||||
[ORIGINAL]
|
||||
EndOfFile
|
||||
|
||||
[TRANSLATED]
|
||||
EndOfFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue