21.06.2015, 22:48
First line is the 2336 error:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
P:2("Hooks_OnPlayerTakeDamage called: %d, %d, %f, %d, %d", playerid, issuerid, Float:amount, weaponid, bodypart);
new
end = _:YSI_g_sCallbackEnd[ALS_OnPlayerTakeDamage],
start = _:YSI_g_sCallbackStart[ALS_OnPlayerTakeDamage],
ret = ALS_R_PlayerTakeDamage;
while (start++ != end)
{
#emit PUSH.S bodypart
#emit PUSH.S weaponid
#emit PUSH.S amount
#emit PUSH.S issuerid
#emit PUSH.S playerid
#emit PUSH.C 16
#emit CONST.alt YSI_g_sCallbackAddresses
#emit LOAD.S.pri start
//#emit INC.pri
//#emit STOR.S.pri start
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
P:2("Hooks_OnPlayerTakeDamage called: %d, %d, %f, %d, %d", playerid, issuerid, Float:amount, weaponid, bodypart);
new
end = _:YSI_g_sCallbackEnd[ALS_OnPlayerTakeDamage],
start = _:YSI_g_sCallbackStart[ALS_OnPlayerTakeDamage],
ret = ALS_R_PlayerTakeDamage;
while (start++ != end)
{
#emit PUSH.S bodypart
#emit PUSH.S weaponid
#emit PUSH.S amount
#emit PUSH.S issuerid
#emit PUSH.S playerid
#emit PUSH.C 16
#emit CONST.alt YSI_g_sCallbackAddresses
#emit LOAD.S.pri start
//#emit INC.pri
//#emit STOR.S.pri start