Hali miért nem írja ki semmit ez :
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <colorchat>
#define PLUGIN "Rush hud info"
#define AUTHOR "expert"
#define VERSION "1.0"
new szamlalo
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("start",2,"1=Round_Start")
register_event("DeathMsg", "Death", "a")
register_logevent("bomba", 3, "2=Planted_The_Bomb")
}
public start()
{
szamlalo = 60
}
public kiiras()
{
new players[32], pnum, tempid;
get_players(players, pnum, "c");
for(new i; i<pnum; i++)
{
tempid = players[i];
if(is_user_alive(tempid) && cs_get_user_team(tempid) == CS_TEAM_CT)
{
if(szamlalo > 0)
{
ColorChat(0, GREEN, "Rush engedélyezve 60 másodperc múlva")
}
else
{
set_hudmessage(0, 225, 225, -1.0, 0.30, 1 , 0.0, 1.1, 0.0, 0.0, -1)
show_hudmessage(tempid, "Rush engedélyezve!")
return PLUGIN_HANDLED
}
}
}
--szamlalo
return PLUGIN_CONTINUE
}
public Death()
{
new tplayers[32], tpnum
get_players(tplayers, tpnum, "aceh", "TERRORIST")
new ctplayers[32], ctpnum
get_players(ctplayers, ctpnum, "aceh", "CT")
if(tpnum == 1 || ctpnum == 1)
{
szamlalo = 0
}
return PLUGIN_CONTINUE
}
public bomba()
{
szamlalo = 0
}
Előre is kösz