/* Enhanced Death (c) Copyright 2002-2003, Platters This file is provided as is (no warranties). USAGE ===== Ummmm.. die... looks pretty 0.1 - YAY ! */ #include <amxmodx> public plugin_init() { register_plugin("Enhanced Death", "0.1", "Platters") register_event("DeathMsg", "death", "a") return PLUGIN_CONTINUE } public death() { new id=read_data(2) message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id) write_short( 4<<12 ) // fade lasts this long duration write_short( 3.5<<16 ) // fade lasts this long hold time write_short( 1<<1 ) // fade type (in / out) write_byte( 255 ) // fade red write_byte( 0 ) // fade green write_byte( 0 ) // fade blue write_byte( 255 ) // fade alpha message_end() new deadname[33] get_user_name(id,deadname,32) set_hudmessage(255, 255, 255, -1.0, -1.0, 2, 0.2, 10.0, 0.1, 0.2, 2) show_hudmessage(id,"%s jestes niezywy...", deadname) return PLUGIN_CONTINUE }
jak zrobic zeby napis "nick" jestes niezywy... trwal krocej np z 3 sekundy a nie 10?