Game Development Community

Am I / Is he) an admin?

by Alex Huck · in Technical Issues · 05/19/2006 (11:11 pm) · 2 replies

Hi,
How I'd go about figuring out a players status (Bot, Admin, Super)? Is there an %obj.getClientType(); or something that can do this?

#1
05/20/2006 (5:54 am)
If they are different class types you could just use className and compare these, as you can see here
#2
05/20/2006 (11:20 am)
You can use

%client.isAiControlled(), 
      %client.isAdmin, 
      %client.isSuperAdmin