17.11.2016, 09:59
Hello guys,im kinda newbie in mysql scripting.
Today i want to get some tips on how to make a /factions cmd.
When you type /factions,it shows the faction name and the members in it
example:
,and also to count offline and online players.
On mysql i got 2 columns: Leader and Member.
I got an idea to count how for example for faction 1 [ police deparment] to count how many players have 1 on leader or member,but i dont really know how to do it.any tips?ty in advance
Today i want to get some tips on how to make a /factions cmd.
When you type /factions,it shows the faction name and the members in it
example:
PHP код:
Police Department- 5/10 members
On mysql i got 2 columns: Leader and Member.
I got an idea to count how for example for faction 1 [ police deparment] to count how many players have 1 on leader or member,but i dont really know how to do it.any tips?ty in advance