Register a death event when rounds end(help)
Hi. I have a hidenseek server
Some of you knows the mod, and you know if you are TERRORIST, when round ends, and you are alive, you gain 1 frag for winning the round. Now, i have created a mini frag based life system. When you reach 6 frags you gain 1 life by a DeathMsg event. So i want if it's possible to make an event for round ands, if I have 5 frags when the round ends to gain the life when the servers get me the frag for winning the round. My code for that seems to be like this, but it doesn't work... like the event doesn't happens. NOTE: The server gives me the frag when round starts/new round You can find the hidenseeek plugin here PHP Code:
Sorry for my bad english :) |
Re: Register a death event when rounds end(help)
Code:
that logevent isn't player specific and is only triggered once, you have to loop through all players |
Re: Register a death event when rounds end(help)
Thanks dude for the suggestions, I forget that in events you should determinate all the players before executing/verifiyng something on them.
It's solved, you can close this topic. |
| All times are GMT -4. The time now is 09:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.