Grant Permission within C++
Hi there
i'm looking for a way to grant permission to player
Example:
Hi there
i'm looking for a way to grant permission to player
Example:
Code:
class Noob_Player : public PlayerScript
{
public:
Noob_Player() : PlayerScript("Noob_Player") { }
void OnLogin(Player* player)
{
if (player-GetSession->IsNoob)
player->GetSession->AddGrantedPermission(1000);
}
};
Last edited: