Hi,
How can I do to show this sprite:
I try with this, but doesn't work for me:
PHP Code:
new g_Message_Damage;
g_Message_Damage = get_user_msgid("Damage");
message_begin(MSG_ONE_UNRELIABLE, g_Message_Damage, _, id);
write_byte(0);
write_byte(0);
write_long(DMG_BULLET);
write_coord(0);
write_coord(0);
write_coord(0);
message_end();
I try to show that sprite when you receive damage from an entity, like this:
PHP Code:
ExecuteHam(Ham_TakeDamage, victim, 0, entity, 1.0, DMG_BULLET);
// show the 'sprite'
Thanks in advanced!
__________________