|
AlliedModders Donor
|
03-08-2015
, 20:01
Re: Add admin through code?
|
#2
|
The 1.5.0 beta plugins does have some natives for that. Idk if it actually works. Do note that custom permissions no longer work with 1.5.0.
Quote:
native SB_GetAdminId(client);
native SB_AddAdmin(client, const String:name[], const String:authtype[], const String:identity[], const String:password[] = "", const String:groups[] = "");
native SB_DeleteAdmin(client, const String:authtype[], const String:identity[]);
native SB_AddGroup(client, const String:name[], const String:flags[], immunity = 0);
native SB_DeleteGroup(client, const String:name[]);
native SB_SetAdminGroups(client, const String:authtype[], const String:identity[], const String:groups[] = "");
|
https://forums.alliedmods.net/showthread.php?t=207840
Last edited by xSpeced; 03-08-2015 at 20:02.
|
|
|
|