View Single Post
iNvectus
Member
Join Date: Sep 2014
Location: Bulgaria
Old 11-10-2019 , 16:21   Re: Problem with amxx version change.
Reply With Quote #2

At
Code:
get_user_origin(id, iOrigin);             message_begin(MSG_BROADCAST, SVC_TEMPENTITY);             write_byte(TE_BLOODSPRITE);             write_coord(iOrigin[0]);             write_coord(iOrigin[1]);             write_coord(iOrigin[2]);             write_short(blood2);             write_short(blood);             write_byte(229);             write_byte(25);             message_end();                             set_pev(id, pev_punchangle, ViewAngle);             SetHamParamEntity(2, attacker);             return HAM_IGNORED;

you have set the second parameter of
Code:
SetHamParamEntity(2, attacker);

as attacker id or entity id aka a player id. It expects a float value, not id of entity.

PS:

Ignore my post... Now that I've read what I've written last night... I apologize. It has nothing to do with it. Probably Natseh is right.
__________________

Last edited by iNvectus; 11-11-2019 at 03:31.
iNvectus is offline