ID:143500
 
Code:


Problem description:

Ok This is what im trying to do. I want to make a verb where there has to be a sertain amount of players to activate. The amount is 4 so.. yea. Thats probably easy to do but O_o for some reason i cant figure it so if anyone knows how post it here.
There are a few ways to do this, I'll just suggest one.

So here's how it works, every 'player' is actually a client attached to a mob, so all you'd have to do is:

var/count // amount of players found
for(var/client/C) count++ // loop through all clients that exist. when one is found, add to 'count'.


count will be equivalent to the amount of players you have.