wesoly136
Member
- Joined
- Jul 30, 2009
- Messages
- 562
- Reaction score
- 8
I wanted to make a script that counts players from one guild(later it will check their levels) and I can't use this query in a script :/
Code:
query = db.getResult("SELECT COUNT(*) FROM guild_ranks WHERE guild_id = "..getPlayerGuildId(cid)..";")
doBroadcastMessage("Answer is: "..query.."!",22)