Code:
//// bb65.sma
Complier\addons\amxmodx\scripting\bb65.sma(812) : warning 204: symbol is assigned a value that is never used: "szGoal"
Complier\addons\amxmodx\scripting\bb65.sma(1890) : error 017: undefined symbol "GREEN"
Complier\addons\amxmodx\scripting\bb65.sma(1890) : warning 215: expression has no effect
Complier\addons\amxmodx\scripting\bb65.sma(1890) : warning 215: expression has no effect
Complier\addons\amxmodx\scripting\bb65.sma(1890) : error 001: expected token: ";", but found ")"
Complier\addons\amxmodx\scripting\bb65.sma(1890) : error 029: invalid expression, assumed zero
Complier\addons\amxmodx\scripting\bb65.sma(1890) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file compiled\bb65.amx (compile failed).
812 line
PHP Code:
public ev_Health(taskid)
{
if (taskid>g_iMaxPlayers)
taskid-=TASK_HEALTH
if (is_user_alive(taskid))
{
new szGoal[32]
//if (is_credits_active())
#if defined BB_CREDITS
format(szGoal, 31, "^n%L: %d", LANG_SERVER, "HUD_GOAL", credits_get_user_goal(taskid))
#endif
set_hudmessage(255, 255, 255, -1.0, 0.9, 0, 12.0, 12.0, 0.1, 0.2, 4);
if (g_isZombie[taskid])
{
static szCache1[32]
ArrayGetString(g_zclass_name, g_iZombieClass[taskid], szCache1, charsmax(szCache1))
//show_hudmessage(taskid, "%L: %d^n%L: %s%s", LANG_SERVER, "HUD_HEALTH", pev(taskid, pev_health), LANG_SERVER, "HUD_CLASS", szCache1, szGoal);
}
else
{
//show_hudmessage(taskid, "%L: %d%s", LANG_SERVER, "HUD_HEALTH", pev(taskid, pev_health), szGoal);
}
set_task(11.9, "ev_Health", taskid+TASK_HEALTH);
}
}
1890 Line
PHP Code:
//Checked after object is successfully grabbed
if (!g_boolCanBuild && (access(id, FLAGS_BUILD) || access(id, FLAGS_OVERRIDE)))
{
new adminauthid[32],adminname[32]
get_user_authid (id,adminauthid,31)
get_user_name(id,adminname,31)
ColorChat( 0, TEAM_COLOR, "^x04^x01 Admin^x04 [%s]^x01 moves the blocks^x04", adminname)
}
client_cmd(id, "spk %s", GRAB_START);
cmdLockBlock(id)
ExecuteForward(g_fwGrabEnt_Post, g_fwDummyResult, id, ent);
return PLUGIN_HANDLED
}