Likes: 1
Results 1 to 1 of 1
Thread: World Chat with ICON
-
10-04-15, 10:56 AM #1
World Chat with ICON
Register to remove this adGMLevel 0 = Player
GMLevel 1 = VIP
GMLevel 2 = Trial GM
GMLevel 3 = GM
GMLevel 4 = Admin
GMLevel 5 = Developer
GMLevel 6 = Co-Owner
GMLevel 7 = Owner
How to add custom scripts?
Rbac.h edit -
Add to rbac.h around line 683:
Code:RBAC_PERM_COMMAND_WORLD_CHAT = 1009,
Code:enum AccountTypes { SEC_PLAYER = 0, SEC_VIP = 1, SEC_GAMEMASTER = 2, SEC_EVENTM = 3, SEC_HEADGM = 4, SEC_DEVELOPER = 5, SEC_ADMINISTRATOR = 6, SEC_OWNER = 7, SEC_CONSOLE = 8 // must be always last in list, accounts must have less security level always also };
Code:INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (1009, 'Command: world chat'); INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (195, 1009); INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (180, 'Role: VIP'); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (0, 195); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (1, 180); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (2, 194); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (3, 194); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (4, 194); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (5, 193); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (6, 193); INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES (7, 192);
Credits
CastleDEV.
› See More: World Chat with ICON