• 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] Permissions
#1
Hmmm, I'm wondering is it possible to create (built-in ) permissions system to open.mp ( yeah, just like in MINECRAFT )

Like


Code:
native AddPermissionGroup("permgroup");
native AddPermissionTree("permgroup", "perm");
native AddPermissionToGroup(groupid, "permission");
native AddGroup(groupName);
native AddPlayerToGroup(playerid, groupName);



And sth like that, ask why?

We can use FS's without actually modifying code like to adapt CMD_PERM_ADMIN or pAdmin and shit like that, instead we can just:

/creategroup Admin
/setgperm Admin permission.cmd.* ( * - all perms from .cmd group, first native )
/setgtoplayer [ Player ] [ Group ]

permission.groupname.perm
permission.fsname.perm

and stuff like that, I hope you understand me :D
  Reply


Messages In This Thread
Permissions - by Pinch - 2019-06-09, 07:45 AM
RE: Permissions - by qwerty - 2019-06-09, 01:05 PM
RE: Permissions - by Y_Less - 2019-06-09, 04:45 PM
RE: Permissions - by Pinch - 2019-06-12, 07:40 AM
RE: Permissions - by Romzes - 2019-06-17, 11:52 AM
RE: Permissions - by Sasino97 - 2019-06-17, 01:16 PM
RE: Permissions - by manul694 - 2021-05-11, 12:14 PM
RE: Permissions - by Pinch - 2021-05-11, 09:15 PM

Forum Jump: