DeathMsg is running more than once?
Hi,
I would like to count specific death, but for some reason, the counter sometimes increased by more than one point. Any ideas? Here is the code PHP Code:
|
Re: DeathMsg is running more than once?
You should check if iKiller != iVictim.
|
Re: DeathMsg is running more than once?
Quote:
|
Re: DeathMsg is running more than once?
I don't see anything wrong.
You could make an else for knife check though, because both condition shouldn't be possible at the same time. Also, you should really consider the use of a Trie to store pistols names. |
Re: DeathMsg is running more than once?
Hmm, thanks :(
However, I must learn something about Trie before I can use them. |
Re: DeathMsg is running more than once?
Quote:
|
Re: DeathMsg is running more than once?
Yeah, and the counters won't increased.
|
Re: DeathMsg is running more than once?
Hi, I did not need to start a new thread. I only have a short question about the use of trie. Can someone show me examples about using of the celltrie.inc?
I must create and set a trie, and I must delete some informations! Many Thanks in advance Leon |
Re: DeathMsg is running more than once?
Since you are using csx, you could use forward client_death as well, so you directly get weapon index, and team attack.
Anyway here it is : PHP Code:
|
Re: DeathMsg is running more than once?
Thank you :)
|
| All times are GMT -4. The time now is 03:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.