• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

count playing players

Status
Not open for further replies.
Level 5
Joined
Jan 27, 2014
Messages
164
Alternatively, there is already a counting function:
Code:
Actions
    Set playergp = (All players matching (((Matching player) slot status) Equal to Is playing))
    Set integer = (Number of players in playergp)
    Custom script:   call DestroyForce (udg_playergp)
 
Status
Not open for further replies.
Top