Moin,
Quote:
Originally Posted by XxAvalanchexX
What is the problem with the log messages?
|
okay ... i delete some lines
Code:
og L 02/27/2007 - 20:55:52: Team "TERRORIST" triggered "Terrorists_Win" (CT "0") (T "1")
..
og L 02/27/2007 - 20:55:52: Team "TERRORIST" triggered "Terrorists_Win" (CT "0") (T "2")
double trigger of the same events at the same time (some times 3x) ... and suicide with "player"??
so i catch the event(s)
Code:
register_event("SendAudio", "Event_TWin", "a", "2&%!MRAD_terwin")
register_event("SendAudio", "Event_CTWin", "a", "2&%!MRAD_ctwin")
Code:
public Event_TWin() {
// Fix zum dobble/trippel Trigger
if (roundstatus != RS_RUNNING) return PLUGIN_CONTINUE
if (HumanSide == CsTeam:CS_TEAM_T)
{
set_task(1.0, "Event_HumanWin_Thread")
} else
{
set_task(1.0, "Event_BotWin_Thread")
}
Event_RoundEnd()
return PLUGIN_CONTINUE
}
public Event_CTWin() {
// Fix zum dobble/trippel Trigger
if (roundstatus != RS_RUNNING) return PLUGIN_CONTINUE
if (HumanSide == CsTeam:CS_TEAM_CT)
{
set_task(1.0, "Event_HumanWin_Thread")
} else
{
set_task(1.0, "Event_BotWin_Thread")
}
Event_RoundEnd()
return PLUGIN_CONTINUE
}
health-problem
i setted the bot-health to 250 and now works the player-level upgrade again (bevor, it jumps from 0 to 7 [maximum]) ... i do the same with the player-health and will show ... i think there is somewhere a byte-boundary (0..255)
hand, mogel
__________________