How to make online players count?

Posted by Jocke
Is there any possible way to make online palyers count in game?

Replies (4)

Last message on 30 Mar 2019

Size43 (Administrator) on 25 Mar 2019, 22:56:48
You can use gms_other_count.

Or maybe you're interested in the dynamic images (see developer panel), which you can include on any website.
Jocke (Topicstarter) on 26 Mar 2019, 14:52:28
Yeah i saw the dynamic images, but i was going to look to implement the player online in the game. Thanks bro, without your extension my game would never have Multiplayer! Plus thanks a lot for putting it on the games sections means a lot to me :D
Ryaangu on 29 Mar 2019, 01:51:45
I don't know if this still help you, but you can get total players using this basic code:

var total_player_count = gms_other_count() + 1;


And you can get only others count by using this basic code:

var other_player_count = gms_other_count();
Jocke (Topicstarter) on 30 Mar 2019, 12:00:46
it did worked thanks!