Thanks, will use the event_leave reload command. Good luck for your exams 
Here is some other bug I noticed:
It seems that betray events get executed once when the betray happens and a second time when a new map loads if saving scores is enabled.
If have this team-killer-education-system (xD) set up:
Code:
event_tk $mode!:cbctf $tk=1 'say $n "Please do not betray!"'
event_tk $mode!:cbctf $tk=2 'say $n "Last personal warning before kick!"'
event_tk $mode!:cbctf $tk=3 'say * "$name was executed for killing team mates!"; kill $n'
event_tk $mode!:cbctf $tk=4 'say * "$name will be kicked for betraying!"; w8 3; sv_kick $n'
event_tk $mode!:cbctf $tk=5 'say $n "Rejoining does not reset your betray count"'
event_tk $mode!:cbctf $tk=6 'say * "$name was kicked for betraying AGAIN!"; w8 3; sv_kick $n'
event_tk $mode!:cbctf $tk=7 'say $n "Last personal warning before ban!"; kill $n'
event_tk $mode!:cbctf $tk=8 'say * "$name will soon be banned for betraying!"'
Tk ban is set to 9. It works very well and some stop betraying after the second kick ;D
So now for example a player tk's 4 times. The server kicks him. He rejoins, which is fine by me. His tk count is ofc still 4 like it should be. Now a new map loads and he gets automaticly kicked again about a second after he joined the new map.
He shouldn't get kicked again. It seems to me like the event system goes through all events on map load but ignores wether or not the event actually just took place now or some minutes ago.
Bookmarks