General > Developers Corner
Admin sounds, tools and other code chat.
jay209015:
Nvm, I'm wrong. This is only checking one players status. Not everyone.
--- Code: ---Checking Player Status
Setting --One--'s Status
Player --One-- Is ACTIVE
Checking Player Status
Setting --One--'s Status
Player --One-- Is ACTIVE
Checking Player Status
Precache of sprites/redglow1 ambigious (no extension specified)
Setting --One--'s Status
Player --One-- Is ACTIVE
Checking Player Status
Setting --One--'s Status
Player --One-- Is ACTIVE
--- End code ---
there was 8 people on the server. Shouldn't the for _,ply in pairs loop through all the players?
JamminR:
afk_time and check_time (and possibly other time vars) aren't unique to each player. So, it gets overwritten/uses last player each loop.
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
[0] Board index
Go to full version