ve bu ekteki plugın elındeki sey ne olursa olsun damagesını 2 katınamı cıkarıyor?
Bır konuda gordum de
Alıntı:#include <amxmodx>
#include <hamsandwich>
#define VERSION "0.1"
#define ACCESS ADMIN_LEVEL_H
public plugin_init()
{
register_plugin("Admin Double Damage", VERSION, "Justin");
RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage");
}
public fw_TakeDamage(victim, inflictor, attacker, Float:damage)
{
if (is_user_connected(attacker) && is_user_alive(attacker) && get_user_flags(attacker) & ACCESS)
{
SetHamParamFloat(4, damage * 2);
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/,