AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [FIGURED OUT ON MY OWN] newRound event problem (https://forums.alliedmods.net/showthread.php?t=54585)

MadMaurice 04-29-2007 13:48

[FIGURED OUT ON MY OWN] newRound event problem
 
1 Attachment(s)
i 'm making a "show the player with the most kills at the end of the round, then reset the counter an restart counting"-plugin

first it worked fine. then i thought why not show the result with a hudmessage. this didn't work (i read AMXX has some problems with hudmsgs). so i took the client_print function again. now (i found out after some tests) the endround event isn't fired

my code is attached.

Does any one know why the endround event doesn't work?:|

ConnorMcLeod 04-29-2007 14:06

Re: newRound event problem
 
I guess you should use :
from here : http://forums.alliedmods.net/showthread.php?t=42159

register_logevent("logevent_round_end", 2, "1=Round_End")

MadMaurice 04-29-2007 14:12

Re: newRound event problem
 
i want the results to show on the next spawn so i dont use Round End

ConnorMcLeod 04-29-2007 14:15

Re: newRound event problem
 
register_event("HLTV", "event_new_round", "a", "1=0", "2=0")

MadMaurice 04-29-2007 14:49

Re: newRound event problem
 
sry but i tried this event with flag a and b ( forgot to correct it:mrgreen:)

could anyone try it at his server? DON'T forget to change the flag from b to a


All times are GMT -4. The time now is 06:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.