Code:
// Line 19
if (target = 0)
// Should be
if (target == 0)
// OR
if (!target)
Code:
// Line 27 - You already created that variable
new health = get_user_health(id)
// So .. ->
health = get_user_health(id)
As for your loose-indentation warnings, ignore them (or fix them). Also, you could use Avalanche's
online-indenter.
__________________