How to make command /leaders
#6

You could simply add a "factionLeader[MAX_PLAYER_NAME]" to your enum factionData. Then go to makeleader command and use something like format(FactionData[id][factionLeader], 24, "%s", ReturnName(userid, 0));

Then, in your /leaders command, make a loop to loop through all existing factions and just display that specific variable.
Reply


Messages In This Thread
How to make command /leaders - by ervinmasic - 12.12.2015, 14:34
Re: How to make command /leaders - by ATGOggy - 12.12.2015, 15:06
Re: How to make command /leaders - by ervinmasic - 12.12.2015, 15:10
Re: How to make command /leaders - by saffierr - 12.12.2015, 23:12
Re: How to make command /leaders - by ervinmasic - 13.12.2015, 08:24
Re: How to make command /leaders - by Denying - 13.12.2015, 14:53
Re: How to make command /leaders - by ervinmasic - 14.12.2015, 09:37
Re: How to make command /leaders - by Elegy - 14.12.2015, 09:49
Re: How to make command /leaders - by Assassin007 - 14.12.2015, 11:12
Re: How to make command /leaders - by PrO.GameR - 14.12.2015, 11:17

Forum Jump:


Users browsing this thread: 2 Guest(s)