Members online
#8

create a new variable called "FamilyInfo[i][FamilyOnline]" (for example).
if a player is connecting set the variable + 1 for his family.
set it minus 1 when he is disconnecting.

easiest solution.
and why do you need the scanff there?
the player is typing a ID but you anyways show him the information of all families.
Reply


Messages In This Thread
Members online - by AdzeeH - 02.02.2017, 15:26
Re: Members online - by Eoussama - 02.02.2017, 15:35
Re: Members online - by BiosMarcel - 02.02.2017, 15:36
Re: Members online - by Eoussama - 02.02.2017, 15:41
Re: Members online - by AndreiWow - 02.02.2017, 15:48
Re: Members online - by BiosMarcel - 02.02.2017, 16:01
Re: Members online - by AdzeeH - 02.02.2017, 20:07
Re: Members online - by GangstaSunny. - 02.02.2017, 21:29

Forum Jump:


Users browsing this thread: 1 Guest(s)