29.03.2019, 15:12
Your problem is here:
PlayerInfo[***playerid***][pClanid]
replace the "playerid" to the target's id
PHP Code:
format(query, sizeof(query), "SELECT * FROM `users` WHERE `Clanid` = '%d' ORDER BY `ClanRank` DESC LIMIT 10", PlayerInfo[playerid][pClanid]);
replace the "playerid" to the target's id