Get # of players online?
#8

Quote:
Originally Posted by sciman001
Посмотреть сообщение
so if i wanted to print the players online in the server thing... i would do printf("players online: %s", players);
Almost, the code is correct, except the placeholder. %s is for strings, you should use %i, or %d.

So:
pawn Код:
printf("Players Online: %d", players);
Reply


Messages In This Thread
Get # of players online? - by sciman001 - 18.03.2011, 20:05
Respuesta: Get # of players online? - by Alex_Obando - 18.03.2011, 20:06
Re: Get # of players online? - by sciman001 - 18.03.2011, 20:07
Re: Get # of players online? - by Calgon - 18.03.2011, 20:08
Re: Get # of players online? - by Biesmen - 18.03.2011, 20:09
Re: Get # of players online? - by Jochemd - 18.03.2011, 20:09
Re: Get # of players online? - by sciman001 - 18.03.2011, 20:15
Re: Get # of players online? - by Biesmen - 18.03.2011, 20:17
Re: Get # of players online? - by Calgon - 18.03.2011, 20:21
Re: Get # of players online? - by sciman001 - 19.03.2011, 15:11

Forum Jump:


Users browsing this thread: 1 Guest(s)