HLMOD.HU Forrás Megtekintés
- www.hlmod.hu#include <amxmodx>
#include <fun>
#define PLUGIN_VERSION "1.0"
public plugin_init()
{
register_plugin("Screen Fade", PLUGIN_VERSION, "zEEDu")
register_event("DeathMsg", "hook_death", "a", "1>0")
}
public hook_death()
{
new iVictim = read_data(2)
if(is_user_connected(iVictim))
{
message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, iVictim)
write_short(1<<10)
write_short(1<<10)
write_short(0x0000)
write_byte(255)
write_byte(0)
write_byte(0)
write_byte(75)
message_end()
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
*/