Raised This Month: $ Target: $400
 0% 

Steam Group Admins (updated 2011-09-26)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HALF LIFE 3
Junior Member
Join Date: Nov 2016
Old 12-20-2016 , 22:59   Re: Steam Group Admins (updated 2011-09-26)
Reply With Quote #14

Quote:
Originally Posted by Dragonisser View Post
So any potential fix for the ccc stuff?




Could you show me the code? I cant figure out how to add this since the code of the custom chatcolor doesnt have such a function.


Nvm. ive added this:

Code:
public OnPluginStart() {

	RegAdminCmd("sm_reloadccc", Command_ReloadConfig, ADMFLAG_CONFIG, "Reloads Custom Chat Colors config file");
	colorForward = CreateGlobalForward("CCC_OnChatColor", ET_Event, Param_Cell);
	nameForward = CreateGlobalForward("CCC_OnNameColor", ET_Event, Param_Cell);
	tagForward = CreateGlobalForward("CCC_OnTagApplied", ET_Event, Param_Cell);
	applicationForward = CreateGlobalForward("CCC_OnColor", ET_Event, Param_Cell, Param_String, Param_Cell);
	messageForward = CreateGlobalForward("CCC_OnChatMessage", ET_Ignore, Param_Cell, Param_String, Param_Cell);
	preLoadedForward = CreateGlobalForward("CCC_OnUserConfigPreLoaded", ET_Event, Param_Cell);
	loadedForward = CreateGlobalForward("CCC_OnUserConfigLoaded", ET_Ignore, Param_Cell);
	configReloadedForward = CreateGlobalForward("CCC_OnConfigReloaded", ET_Ignore);
	LoadConfig();
	CreateTimer(5.0, AutomaticConfigReload, _, TIMER_REPEAT); 
}

public Action:AutomaticConfigReload(Handle:hTimer)
{
	LoadConfig();
	
	return Plugin_Continue;
}
aye I don't know if I'm being dumb or not but when I edit that code in the plugin it don't reload can I have some help adding the code to the plugin?
HALF LIFE 3 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode