Raised This Month: $12 Target: $400
 3% 

CSGO Auto Chat Responder Config File?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdulsami34
Member
Join Date: Oct 2017
Old 03-31-2019 , 18:53   CSGO Auto Chat Responder Config File?
Reply With Quote #1

Hi there
I'm a beginner. I have found this code and trying to learn it. I have just imported colors to it and made it according to my needs. I was thinking how can i make a config file like Advertisement 2.0
Can anyone could help me out with this please!

Code :
Code:
#include <sourcemod> 
#include <colorvariables>
#pragma semicolon 1 
public Plugin myinfo = { 
 name        = "AutoResponder 1.0.0", 
 author      = "sAmI", 
 description = "Chat Responder", 
 version     = "1.0", 
 url         = "http://steamcommunity.com/id/--sAmI" 
}; 
public OnPluginStart() 
{ 
 RegConsoleCmd("sm_losers", losers);
 AddCommandListener(OnSay, "say"); 
 AddCommandListener(OnSay, "say_team"); 
} 
public Action:Hi(client, args) 
{ 
 ReplyToCommand(client, "losers"); 
} 
public Action:OnSay(client, const String:command[], args) 
{ 
 char text[4096]; 
 GetCmdArgString(text, sizeof(text)); 
 StripQuotes(text); 
 if (StrEqual(text, "!vips")) { 
 CPrintToChat(client, "{green}[LosersGaming] {gold}Server VIPS : Zam , AintisAm"); 
} 
else if (StrEqual(text, "!rules")) { 
 CPrintToChat(client, "{green}[LosersGaming] {gold}Rules : https://losersgaming.pw/rules.php"); 
}
else if (StrEqual(text, "!getvip")) { 
 CPrintToChat(client, "{green}[LosersGaming] {gold}To get VIP you should be in Top 3 or you can buy VIP for 2 Keys Per Month."); 
}
 else if (StrEqual(text, "!staff?")) { 
 CPrintToChat(client, "{green}[LosersGaming] {gold}Check out the Staff List at : https://losersgaming.pw/showteam.php"); 
} 
}

Last edited by abdulsami34; 03-31-2019 at 18:58. Reason: code
abdulsami34 is offline
Cruze
Veteran Member
Join Date: May 2017
Old 03-31-2019 , 21:52   Re: CSGO Auto Chat Responder Config File?
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?p=2392191
__________________
Taking paid private requests! Contact me
Cruze is offline
abdulsami34
Member
Join Date: Oct 2017
Old 04-01-2019 , 01:42   Re: CSGO Auto Chat Responder Config File?
Reply With Quote #3

There is a issue with it. The cooldown issue. It's not fixed. I tried fixing on my own but it didn't work tho.
abdulsami34 is offline
Reply


Thread Tools
Display Modes

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 06:38.


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