qweasdwwwqqq 发表于 2008-2-1 18:34:07

版主们有事求助..

请问怎么将=死亡后出现绿色画面.排名.剩余时间=改成死亡后出现绿色画面..到下一局开始才变回正常啊..
:burn: :confused: :burn:

/* Enhanced Death
(c) Copyright 2002-2003, Platters
This file is provided as is (no warranties).
USAGE
=====
Ummmm.. die... looks pretty
0.1 - YAY !
*/
#include <amxmod>
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( 10<<12 ) // fade lasts this long duration
write_short( 10<<16 ) // fade lasts this long hold time
write_short( 1<<1 ) // fade type (in / out)
write_byte( 0 ) // fade red
write_byte( 255 ) // fade green
write_byte( 0 ) // fade blue
write_byte( 255 ) // fade alpha
message_end()
new deadname
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,"Thanks for trying %s, come again..", deadname)
return PLUGIN_CONTINUE
}

zwfgdlc 发表于 2008-2-1 22:22:24

回复: 版主们有事求助..

死亡后一直绿屏,你不如设置死亡黑屏好了

qweasdwwwqqq 发表于 2008-2-2 10:55:38

回复: 版主们有事求助..

请问怎么将=死亡后出现绿色画面.排名.剩余时间=改成死亡后出现绿色画面..到下一局开始才变回正常啊..:confused: :confused: :confused:
页: [1]
查看完整版本: 版主们有事求助..