Участник
Пользователь
- Сообщения
- 256
- Реакции
- 12
Can anyone please help me with a code to save a cvar value & then use the same value when map is changed? I guess it can be saved in a ini file? Or any other method. For eg.
When a mapvote is taken it saves a custom cvar like amx_xyz. This cvar value changes to 1 once vote is taken & that value should be stored somewhere like a ini file. Once map is changed it should restore the cvar value of amx_xyz & then exec another cvar amx_abc.
When a mapvote is taken it saves a custom cvar like amx_xyz. This cvar value changes to 1 once vote is taken & that value should be stored somewhere like a ini file. Once map is changed it should restore the cvar value of amx_xyz & then exec another cvar amx_abc.