the sound of the rain that I will call should be repeated as soon as it is over. i need to call client_cmd (0, "spk") at exactly this point in my code
PHP Code:
// rain
if (g_weather_rain){
if (g_weather_rain == 0)
return;
if (g_weather_rain == 1){
engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "env_rain"));
// sound repeatedly here
}
}