http://amxx.pl/topic...wych-statystyk/
LeczacyBot()
{
new Bot = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"));
if (Bot)
{
set_pev(Bot, pev_classname, "Regeneracja");
dllfunc(DLLFunc_Spawn, Bot);
set_pev(Bot, pev_nextthink, get_gametime() + 5.0);
}
}
public RegeneracjaThink(Bot)
{
new iPlayers[32], iNum, id;
get_players(iPlayers, iNum);
for(new i; i<iNum; i++)
{
id = iPlayers[i];
if (!is_user_alive(id)) continue;
if (regeneracja[id]>0)
change_health(id,regeneracja[id]/1,0,"");
}
set_pev(Bot, pev_nextthink, get_gametime() + 5.0);
}
ten plugin to nie diablo, ale chodzi mi o to, że wywala mi 1 error
Error: Undefined symbol "change_health" on line 227