Witam,
Podczas kompilacji tegoż pluginu wystąpił następujący błąd.
1) PLUGIN
#include <amxmodx>
#include <cstrike>
#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) && (!cs_get_user_team(zabojca) == 2))
{
return PLUGIN_CONTINUE;
}
cs_set_user_money(zabojca, cs_get_user_money(zabojca)+500, 1);
return PLUGIN_CONTINUE;
}
2) BŁAD
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team kasa.sma(16) : warning 213: tag mismatch Header size: 312 bytes Code size: 480 bytes Data size: 148 bytes Stack/heap size: 16384 bytes; estimated max. usage=39 cells (156 bytes) Total requirements: 17324 bytes 1 Warning. Done.
Proszę o wyjaśnienie błędu.


Dodatki SourceMod




Temat jest zamknięty










