ID:170074
 
Well, I want to make it so it just tells the amount of people in the world, and thats it. But, the thing is that it won't work. Now, I know I should'nt of made this a proc but I don't get any compile errors, either.

proc/PeopleCheck()
var/people
var/mob/M
if(M.Login())
people +=1
else
return
if(M.Logout())
people -=1
else
return


Then I have the statpanel. Which, should increase how many people are online.

   stat("People Online:",people)


Then when they login it is just blank.
why not just do..
mob/Login()
players += 1
..()
mob/Logout()
players -= 1
..()

Or
var/tempplayers
for(var/mob/Player/M in world)
tempplayers += 1
In response to Flame Sage
Alright, I fixed it.
In response to MasterLink2003
MasterLink2003 wrote:
Alright, I fixed it.

No Thank you? lol
In response to Flame Sage
Heh..