Left 4 Dead 2

Left 4 Dead 2

Admin System
EviL panchito 2024년 11월 21일 오전 12시 13분
I need help with cvars.txt
scripted_user_func max_health,all,300 and scripted_user_func give,all,rifle_m60 these commands does not work in cvars.txt but it works in the console, how can I fix it? @Rayman1103
< >
전체 댓글 3개 중 1~3개 표시 중
Rayman1103  [개발자] 2024년 11월 21일 오후 9시 43분 
Hello, the reason those commands aren't working in cvars.txt is due to the fact it's being read at round_start, which is before the Survivors have actually spawned. That's fine with regular cvars, but not for commands that target players.

I can try looking into a method to allow those commands to fire later, after all Survivors have spawned.
EviL panchito 2024년 11월 22일 오후 5시 40분 
Rayman1103 님이 먼저 게시:
Hello, the reason those commands aren't working in cvars.txt is due to the fact it's being read at round_start, which is before the Survivors have actually spawned. That's fine with regular cvars, but not for commands that target players.

I can try looking into a method to allow those commands to fire later, after all Survivors have spawned.

ty bro let me know if you find any method
Rayman1103  [개발자] 2024년 12월 3일 오후 12시 27분 
I've just released an update which should resolve that issue. Now It's suppose to wait until the Survivors have spawned before loading the "scripted_user_func" commands from the cvars.txt file.
< >
전체 댓글 3개 중 1~3개 표시 중
페이지당 표시 개수: 1530 50