
Wszystko się kompiluje, nie ma żadnych błędów, w logach czysto.
#include <amxmodx> #include <fakemeta> public plugin_init() { register_plugin( "Plugin" , "0.1", "Dawedo" ); register_forward( FM_Spawn, "fmSpawn", 1 ); } public fmSpawn( ent, id ) { if( !pev_valid( ent ) ) return FMRES_IGNORED; new classname[32]; pev( ent, pev_classname, classname, 31 ); if( !equali( classname, "player" ) ) return FMRES_IGNORED; new hpxp = 40001; if( is_user_alive( ent ) && Exp[id] >= hpxp ) set_pev( ent, pev_health, 120.0 ); return FMRES_HANDLED; }
Użytkownik OfertaDni edytował ten post 05.11.2017 18:59