|
发表于 2009-11-10 15:53:31
|
显示全部楼层
来自 中国–香港
#include < amxmodx >
#define X -1.0
#define Y 0.30
#define G 0
#define R 255
#define B 0
#define delay 15.0
new p_MaxPlayers
public plugin_init( )
{
register_plugin( "???", "???", "Biscuit" );
p_MaxPlayers = get_maxplayers()
set_task(delay, "print_hud",_,_,_,"b")
}
public print_hud()
{
for(new id=1;id<=p_MaxPlayers;id++)
{
if(!is_user_alive(id))
{
set_hudmessage(G, R, B, X, Y, 0, 6.0, 6.0)
show_hudmessage(id, "文字")
}
}
}
應該可以了 |
|