Counting players in DeathMatch [reps+]
#4

That depends on your code. If a player dies and then he lefts the minigun DM, use:
pawn Код:
MinigunCount--;
in OnPlayerDeath (after checking that the player was indeed in minigun DM). If you also have a command that leaves the minigun DM, use it there too (again, you should check if the player is in minigun DM to prevent issues).
Reply


Messages In This Thread
Counting players in DeathMatch [reps+] - by SPA - 23.03.2014, 12:24
Re: Counting players in DeathMatch [reps+] - by Konstantinos - 23.03.2014, 12:29
Re: Counting players in DeathMatch [reps+] - by SPA - 23.03.2014, 13:58
Re: Counting players in DeathMatch [reps+] - by Konstantinos - 23.03.2014, 14:00
Re: Counting players in DeathMatch [reps+] - by CroM256 - 23.03.2014, 14:02

Forum Jump:


Users browsing this thread: 1 Guest(s)