F fb2017 Chieftain Joined Oct 8, 2017 Messages 53 Oct 9, 2017 #1 I use this to get the leader: local leaderType = GameInfo.Leaders[player:GetLeaderType()].Type Is there any way I can do like: if leaderType and leaderType == Ramesses then... Thanks! Last edited: Oct 9, 2017
I use this to get the leader: local leaderType = GameInfo.Leaders[player:GetLeaderType()].Type Is there any way I can do like: if leaderType and leaderType == Ramesses then... Thanks!
F fb2017 Chieftain Joined Oct 8, 2017 Messages 53 Oct 9, 2017 #2 Nevermind, I am stupid! if leaderType == GameInfo.Leaders["LEADER_GANDHI"].Type then
aafritz17 Escaping Moderator Hall of Fame Staff GOTM Staff Supporter Joined Oct 13, 2015 Messages 864 Location The Boonies of Central Michigan Oct 9, 2017 #3 Nevermind, I am stupid! if leaderType == GameInfo.Leaders["LEADER_GANDHI"].Type then Click to expand... Uh, you also apparently talk to yourself... Last edited by a moderator: Jan 13, 2021
Nevermind, I am stupid! if leaderType == GameInfo.Leaders["LEADER_GANDHI"].Type then Click to expand... Uh, you also apparently talk to yourself...