Problem "!=".
#7

Quote:
Originally Posted by norton2
Посмотреть сообщение
And what would be better to do?
A lot of ways , for, I personally check if the player rank is 10 (Highest faction rank) and if it is, then he can do all faction leader commands. Another way would be(If you are using SQLite or MySQL) to save somewhere the unique player SQL ID and then check if the player's unique SQL ID is equal to the faction he is member in's leader SQL ID and the third way I can think of is to save the leader's name again in faction information and use strcmp to compare if the saved leader's name matches the player who executed the command.
Reply


Messages In This Thread
Problem "!=". - by norton2 - 20.12.2015, 06:56
Re: Problem "!=". - by ]Rafaellos[ - 20.12.2015, 06:58
Re: Problem "!=". - by norton2 - 20.12.2015, 07:07
Re: Problem "!=". - by ]Rafaellos[ - 20.12.2015, 07:15
Re: Problem "!=". - by Vince - 20.12.2015, 10:52
Re: Problem "!=". - by norton2 - 20.12.2015, 16:27
Re: Problem "!=". - by thefirestate - 20.12.2015, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)