Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- #include <sdktools>
- public OnClientPostAdminCheck(client)
- {
- if (!GetAdminFlag(GetUserAdmin(client), Admin_Chat))
- {
- for (new i = 1; i < MaxClients; i++)
- if(IsClientInGame(i) && i != client && GetAdminFlag(GetUserAdmin(i), Admin_Chat))
- SetListenOverride(client, i, Listen_Yes);
- }
- else
- {
- for (new i = 1; i < MaxClients; i++)
- if(IsClientInGame(i) && i != client)
- SetListenOverride(i, client, Listen_Yes);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment