25.01.2015, 16:49
Why would you use a callback that calls itself for about 30 times a second, use a timer.
The solution goes for your issue that you explained is almost the same; Create a new variable StillAlive[playerid] and set it to '1' when the player joins the event and when he dies under OnPlayerDeath set it to '0' and keep the timer see if more than one player has StillAlive[playerid]; if so then theres no winner still, if not then announce the winner using a formatted message!
The solution goes for your issue that you explained is almost the same; Create a new variable StillAlive[playerid] and set it to '1' when the player joins the event and when he dies under OnPlayerDeath set it to '0' and keep the timer see if more than one player has StillAlive[playerid]; if so then theres no winner still, if not then announce the winner using a formatted message!