Участник
Пользователь
- Сообщения
- 272
- Реакции
- 14
Hi,
can anyone help? How to precache the gfx/env folder to this code?
Because I know that for sound - precache_sound, and for model - precache_model.
Attached are the files that need to be downloaded from the server
can anyone help? How to precache the gfx/env folder to this code?
Because I know that for sound - precache_sound, and for model - precache_model.
Attached are the files that need to be downloaded from the server
Код:
#include <amxmisc>
#define PLUGIN "Sky"
#define VERSION "1.0"
#define AUTHOR "Forest"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
new iHour;
time(iHour);
if(iHour >= 21 || iHour <= 6)
set_cvar_string("sv_skyname", "plume")
else
set_cvar_string("sv_skyname", "nebulous")
}
Вложения
-
657.4 KB Просмотры: 1