General > Developers Corner

Replacement Function from ASSMod?

<< < (3/3)

rocky123xo:
Last question, promise. If I do:
Player:CheckGroup()
Will that just return their group, like "vip" or "admin"?

If not, what function can I call to retrieve their group name?

Decicus:

--- Quote from: rocky123xo on April 17, 2015, 12:03:58 AM ---Last question, promise. If I do:
Player:CheckGroup()
Will that just return their group, like "vip" or "admin"?

If not, what function can I call to retrieve their group name?

--- End quote ---

Player:GetUserGroup() works like that.

rocky123xo:
I have this:
if (!Player:CheckGroup("moderator")) then

But it doesn't seem to work for anyone other than Moderator (Admin, Superadmin, and the like that inherit from Moderator)
Did I do something wrong?

rocky123xo:
Yes, I did. Nevermind!

Navigation

[0] Message Index

[*] Previous page

Go to full version