Quote:
Originally Posted by P4R4DiSi4C
Hello guys,
I needed this plugin to work with the file: admin-groups and colors for CS:GO since it wasn't working when I set the SteamID and basing on the flags isn't that good...
So I took Mitchell modified version (for csgo colors) and this version (that takes groups instead of flags) and I compiled it, and it's working fine:
Mitchell with only csgo colors:
https://forums.alliedmods.net/showpo...postcount=1047
Nanochip with only based groups:
https://forums.alliedmods.net/showpo...postcount=1308
So you can remove anything related to flags in your config and use this .smx and don't forget to make your groups in: admin-groups.cfg
Credits to: Mitchell, Nanochip and Dr. McKay
Regards
|
The original plugin, and this modified one both fail to compile on SM 1.10 and SM 1.11 throwing the same error initially.
Code:
C:\tf2_server\tf\addons\sourcemod\scripting>spcomp custom-chatcolors.sp
SourcePawn Compiler 1.11.0.6574
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC
custom-chatcolors.sp(269) : error 181: function argument named 'recipients' differs from prototype
1 Error.
The line number changes if it is the original or modified, but both are failing here:
Code:
public Action:OnChatMessage(&author, Handle:recipients, String:name[], String:message[]) {