mob/Login()
src.loc=locate(1,1,1)
if(players < limit)
src.players += 1
world << "<b><font color=blue>[src] has entered the game. ([time2text()])"
if(src.key == "Howey")
src.verbs += typesof(/mob/host/verb)
src.GM = 1
else
src << "Sorry but we're full right now."
del(src)
src << browse(messagenote,"window=Message Note")
mob/Stat()
statpanel("World")
stat("Player Limit:","[limit]")
stat("Number Of Players:","[players]")
for(var/mob/M in world)
if(M.GM)
stat("(Admin) [M.name]"," [M.afkness]")
else
stat("[M.name]"," [M.afkness]")
Problem description:
stat("Number Of Players:","[players]")
When the host logs in, the number changes to one, but when anybody else logs it, it doesn't change to 2,3,4,5,...