Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Player Count
Player Count
2001-11-22, 3:27 PM #1
Hi, i making a tournament cog, and i need a code that returns the current number of players that are currently in the game, anyone know?


thanks
2001-11-22, 5:09 PM #2
Blah:
Numplayers = Getnumplayers();
Stop;

Check the JKspecs. [http://www.plauder-smilies.com/spiny.gif]

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-11-22, 5:11 PM #3
ahh darn i skipped right over that one when i was looking for it lol, thanks GBK [http://forums.massassi.net/html/smile.gif]
2001-11-23, 1:10 AM #4
I'm not sure if that will work, I remember one of those always returned 32 (the max number the game engine can take).
2001-11-23, 1:16 AM #5
Hell, you're using "stop;"...

"You know you've cogged too much when..."

1. Use "stop;" rather than "return;".

.
.
.


------------------
http://millennium.massassi.net/ - Millennium
2001-11-23, 2:29 AM #6
Are you sure that wasnt: GetMaxPlayers(); ?
- Wisdom is 99% experience, 1% knowledge. -
2001-11-23, 6:57 AM #7
It's the Return; of Stop; ! HAha! [/st00p pun]
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2001-11-23, 6:59 AM #8
lol
2001-11-23, 10:43 AM #9
Top 5 signs youve cogged too much...


5) You no longer keep a diary. You keep a cog.

4) You finish your sentences with 'Semicolon'.

3) You refer to your friends as 'Thing0' and 'Thing1'.

2) When someone askes you a question, you freeze up and start repeating 'Invalid conditional statement'.


..And the number one sign youve cogged too much:


 

You, are the walkplayer.

[http://www.plauder-smilies.com/spiny.gif]

------------------
Success is the inverse relationship between effort, gain, and loss.

[This message has been edited by GBK (edited November 23, 2001).]
And when the moment is right, I'm gonna fly a kite.
2001-11-24, 11:55 AM #10
hah, thats is funny, oh and numplayers does work thanks for all of your help

↑ Up to the top!