How to count players using a particular cmd?
#3

Don't even need the variable. Use GetPlayerState with PLAYER_STATE_SPECTATING. However, if you're using foreach you might as well create a custom iterator which you can put all the spectators into.
Reply


Messages In This Thread
How to count players using a particular cmd? - by Nabster - 19.02.2015, 13:15
Re: How to count players using a particular cmd? - by CalvinC - 19.02.2015, 13:44
Re: How to count players using a particular cmd? - by Vince - 19.02.2015, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)