Raised This Month: $32 Target: $400
 8% 

Simple CSGO (!command) plugin - HELP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZeNite
Junior Member
Join Date: Feb 2021
Location: Portugal
Old 02-26-2021 , 04:32   Simple CSGO (!command) plugin - HELP
Reply With Quote #1

So I wanted to setup a simple plugin that allows me to write !(something) on chat and then server replies with a response, but only the person that executed the command could see the response.

I really need help I've been searching for more than a day...
ZeNite is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-26-2021 , 06:33   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #2

Try scripting
__________________
Do not Private Message @me
Bacardi is offline
ZeNite
Junior Member
Join Date: Feb 2021
Location: Portugal
Old 02-26-2021 , 06:37   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #3

what do you mean??
ZeNite is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-26-2021 , 07:30   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #4

https://wiki.alliedmods.net/Category...emod_scripting
__________________
Do not Private Message @me
Bacardi is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 02-26-2021 , 08:42   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #5

Quote:
Originally Posted by ZeNite View Post
So I wanted to setup a simple plugin that allows me to write !(something) on chat and then server replies with a response, but only the person that executed the command could see the response.

I really need help I've been searching for more than a day...
do not tease people bacardi
I think you mean this: https://forums.alliedmods.net/showthread.php?p=2392191

Last edited by freak.exe_uLow; 02-26-2021 at 08:44.
freak.exe_uLow is offline
ZeNite
Junior Member
Join Date: Feb 2021
Location: Portugal
Old 02-27-2021 , 13:50   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #6

Quote:
Originally Posted by freak.exe_uLow View Post
do not tease people bacardi
I think you mean this: https://forums.alliedmods.net/showthread.php?p=2392191
That one doesnt allow to send a reply only to the client chat, only to chat which everyone can see. I want only the person who executed a command (!group) to see the reply.
ZeNite is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-27-2021 , 14:44   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #7

Hehe, this is why I "teased"
Bacardi is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 02-28-2021 , 05:43   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #8

Quote:
Originally Posted by ZeNite View Post
That one doesnt allow to send a reply only to the client chat, only to chat which everyone can see. I want only the person who executed a command (!group) to see the reply.
then you have to adjust it yourself

Quote:
Originally Posted by Bacardi View Post
Hehe, this is why I "teased"
keep going
freak.exe_uLow is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-28-2021 , 07:50   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #9

Quote:
Originally Posted by ZeNite View Post
That one doesnt allow to send a reply only to the client chat, only to chat which everyone can see. I want only the person who executed a command (!group) to see the reply.
Dust, that's why they get pissed, so to speak. Did you get to read the script, test plugin it?

https://forums.alliedmods.net/showthread.php?p=2392191

PHP Code:
gcv_bGlobalReply AutoExecConfig_CreateConVar("hl_chatresponder_global_reply""1""Make it so the Bot's responses are visible to everyone?\n (1 = Yes, 0 = No)"FCVAR_NONEtrue0.0true1.0); 
"hl_chatresponder_global_reply", "1", "Make it so the Bot's responses are visible to everyone?

As you can see there is a cvar to control this, BOT responds to everyone? Yes or no, then just choose.

Last edited by paulo_crash; 02-28-2021 at 07:52.
paulo_crash is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 02-28-2021 , 08:04   Re: Simple CSGO (!command) plugin - HELP
Reply With Quote #10

Quote:
Originally Posted by paulo_crash View Post
Dust, that's why they get pissed, so to speak. Did you get to read the script, test plugin it?

https://forums.alliedmods.net/showthread.php?p=2392191

PHP Code:
gcv_bGlobalReply AutoExecConfig_CreateConVar("hl_chatresponder_global_reply""1""Make it so the Bot's responses are visible to everyone?\n (1 = Yes, 0 = No)"FCVAR_NONEtrue0.0true1.0); 
"hl_chatresponder_global_reply", "1", "Make it so the Bot's responses are visible to everyone?

As you can see there is a cvar to control this, BOT responds to everyone? Yes or no, then just choose.
too bad you wrote this to him, i was waiting for him to see it for himself
freak.exe_uLow 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 13:41.


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