oliki want to add screen fade to attacker, but i dont know where to add it?
tried many ways, but i got unreachable code error
PHP Code:
if ((get_user_weapon(attacker) == CSW_M3) && (damage == 643.0 || damage == 649.0 || damage == 630.0))
return HAM_SUPERCEDE;
return HAM_IGNORED;
}
and here is the screen fade
PHP Code:
message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, attacker)
write_short(1<<12)
write_short(1<<12)
write_short(0x0000)
write_byte (255)
write_byte (0)
write_byte (0)
write_byte (100)
message_end()
edit: already found what was i loking for,
thanks anyway.
Lock