[vanilla] Check the players leader?

Status
Not open for further replies.

fb2017

Chieftain
Joined
Oct 8, 2017
Messages
53
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:
Nevermind, I am stupid!

if leaderType == GameInfo.Leaders["LEADER_GANDHI"].Type then
 
Nevermind, I am stupid!

if leaderType == GameInfo.Leaders["LEADER_GANDHI"].Type then
Uh, you also apparently talk to yourself... :lol:
 
Last edited by a moderator:
Status
Not open for further replies.
Top Bottom