evet teşekkürler 2 adet komut mevcut ama serveri durduruyor restart attigimda kodlar 50 satirda yoktu su sekilde açtigimda ilk satirlarda idi ??
bilginiz varsa editt meselesini siz yapip mod bana facebooktan atabilirmisiniz rica etsem
tesekkürler.
Dvar_Monitors()
{
thread PAM_Server_DVAR_Monitor();
thread PAM_Weapon_DVAR_Monitor();
thread PAM_Gametype_DVAR_Monitors();
thread PAM_Monitor();
}
PAM_Server_DVAR_Monitor()
{
// General Settings
o_spectatefree = getCvarInt("scr_spectatefree");
o_spectateenemy = getCvarInt("scr_spectateenemy");
o_allowvote = Dvar_Changed("g_allowvote", g_allowvote, 1);
o_friendlyfire = getCvar("scr_friendlyfire");
o_teambalance = getCvarInt("scr_teambalance");
o_killcam = getCvarInt("scr_killcam");
o_drawfriend = getCvarInt("scr_drawfriend");
o_pure = getCvarInt("sv_pure");
o_antilag = getCvarInt("g_antilag");
// General MOD Settings
o_minfall = getCvarInt("scr_fallDamageMinHeight");
o_maxfall = getCvarInt("scr_fallDamageMaxHeight");
o_shock = getCvarInt("scr_allow_shellshock");
o_obj = getCvarInt("scr_show_objective_icons");
o_blip = getCvarInt("scr_allow_hitblip");
o_nade = getCvarInt("scr_show_grenade_icon");
o_regen = getCvarInt("scr_allow_health_regen");
o_regen_delay = getCvarInt("scr_regen_delay");
o_hud_scoreboard = getCvarInt("scr_allow_hud_scoreboard");
o_healthpacks = getCvarInt("scr_allow_healthpacks");
o_sec_drop = getCvarInt("scr_allow_secondary_drop");
while (1)
{
wait level.fps_multiplier * 1;
// General Settings
spectatefree = getCvarInt("scr_spectatefree");
if(o_spectatefree != spectatefree)
o_spectatefree = Dvar_Changed("scr_spectatefree", spectatefree, 1);
spectateenemy = getCvarInt("scr_spectateenemy");
if(o_spectateenemy != spectateenemy)
o_spectateenemy = Dvar_Changed("scr_spectateenemy", spectateenemy, 1);
g_allowvote = getCvar("g_allowvote" 1);
if(o_allowvote != g_allowvote 1);
o_allowvote = Dvar_Changed("g_allowvote", g_allowvote, 1);