Witam, podczas kompilacji prostego pluginu wystąpił błąd.
1) PLUGIN
#include <amxmodx>
#include <fun>
#define PLUGIN "money"
#define VERSION "1.0"
#define AUTHOR "intel"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "DeathMsg", "a")
}
public DeathMsg()
{
new zabojca=read_data(1);
if(!is_user_alive(zabojca));
{
return PLUGIN_CONTINUE;
}
set_user_health(zabojca, 130);
return PLUGIN_CONTINUE;
}
2) Błedy:
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team pp.sma(16) : error 036: empty statement pp.sma(20) : warning 225: unreachable code 1 Error. Could not locate output file pp.amxx (compile failed).
Proszę o wyjaśnienie błędu, który popełniem ![]()


Dodatki SourceMod












