PHP Code:
for (new i = 0; i < 5; i++)
{
if (g_fireattacker[ID_BLOOD][i] > 0)
ExecuteHamB(Ham_TakeDamage, ID_BLOOD, CSW_HEGRENADE, g_fireattacker[ID_BLOOD][i], corr_damage, DMG_BURN)
}
The problem is:
[HAMSANDWICH] Entity has null private data (4)
[AMXX] Run time error 10: native error (native "ExecuteHamB")
[AMXX] [0] test.sma::burning_flame (line 7405)
I have tried to change all parameters,
but it still goes wrong
When I changed CSW_HEGRENADE to CSW_DEAGLE :
[HAMSANDWICH] Entity has null private data (26)
Please help