public Death()
{
new id = read_data(2);
new weapon, hitzone, attacker = get_user_attacker(id, weapon, hitzone);
if(!(get_user_flags(id) & ADMIN_LEVEL_H))
if(hitzone != HIT_CHEST)
return PLUGIN_CONTINUE;
if(!is_user_connected(attacker))
return PLUGIN_CONTINUE;
cod_set_user_xp(attacker, cod_get_user_xp(attacker)+get_pcvar_num(cvar_doswiadczenie_za_kill));
return PLUGIN_CONTINUE
}
}
na:
public Death()
{
new id = read_data(2);
new weapon, hitzone, attacker = get_user_attacker(id, weapon, hitzone);
if(!(get_user_flags(id) & ADMIN_LEVEL_H))
if(hitzone != HIT_CHEST)
return PLUGIN_CONTINUE;
if(!is_user_connected(attacker))
return PLUGIN_CONTINUE;
cod_set_user_xp(id, cod_get_user_xp(id)+ile_expa);
return PLUGIN_CONTINUE
}
}
zamień ile expa na ile chcesz dodatkowo expa za kila


Dodatki SourceMod




Moja zawartość
Mężczyzna




