Skip to content

Checking Player Permissions with the API

TheCyberCode edited this page Sep 16, 2018 · 2 revisions

Using the Auth (Checking if player has permission)

Code:

    if(CyberDevAPI.Auth(user, "YourPermHere", CyberDevAPI.ChatColour("&cYou do not have permission to do that!"))){ 
      return true;
    }
Clone this wiki locally