president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
Hello, I was using the code below to check players online from a guild, it in TFS 0.4 works fine, but now, I don't have ideia how to check the players online from the guild, because in players table does not have status/online to check..
How I fix that? To check the players online from a guild in TFS 1.2
Thanks.
How I fix that? To check the players online from a guild in TFS 1.2
Code:
$allM = $SQL->query ('SELECT COUNT(1) as `people` FROM `players` WHERE `rank_id` IN (SELECT `id` FROM `guild_ranks` WHERE `guild_id` = '.$guild_id.') AND status = 1')->fetch();
Thanks.
Last edited: