Mam problem z moim pluginem. Mecze sie z nim od 2 dni i nic
![:X](https://amxx.pl/public/style_emoticons/default/mouthshut.gif)
juz wszystko robiłem , wszystko co bylo zwiazane ze sciana dodawalem. Daje aktualne *.sma. Nie dziala tak powiem
![:P](https://amxx.pl/public/style_emoticons/default/tongue.png)
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fakemeta_util>
#include <fakemeta>
#include <engine>
#include <fun>
#define PLUGIN "Damage sciana HP"
#define VERSION "1.0"
#define AUTHOR "ExTaza?!"
new Float:g_wallorigin[32][3];
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "sciana_damage", "a","3=1");
}
public sciana_damage(id, world)
{
static attacker; attacker = get_user_attacker(id)
new classname[32];
entity_get_string(world, EV_SZ_classname, classname, 31);
if(equal(classname, "worldspawn") || equal(classname, "func_wall") || equal(classname, "func_breakable"))
entity_get_vector(id, EV_VEC_origin, g_wallorigin[id]);
if(fm_is_ent_visible(attacker, id))
{
set_user_health(attacker, get_user_health(attacker)+10)
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/