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

[Cs:s & Cs:go] Forgotten C4 announcements


Post New Thread Reply   
 
Thread Tools Display Modes
Razvann.
Senior Member
Join Date: Jul 2012
Old 02-07-2021 , 08:16   Re: [Cs:s & Cs:go] Forgotten C4 announcements
Reply With Quote #11

Thanks, you're the best
Razvann. is offline
Send a message via Yahoo to Razvann.
dnextreme88
Junior Member
Join Date: Jan 2021
Old 02-09-2021 , 11:41   Re: [Cs:s & Cs:go] Forgotten C4 announcements
Reply With Quote #12

Is it possible to configure it to make it show in all chat, including CTs? XDD
dnextreme88 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-09-2021 , 11:55   Re: [Cs:s & Cs:go] Forgotten C4 announcements
Reply With Quote #13

Quote:
Originally Posted by dnextreme88 View Post
Is it possible to configure it to make it show in all chat, including CTs? XDD
Well, you did not mention, to which plugin version you wanted this, I just show you code what you edit.

Original plugin is like a example, to send in-game translation #phrase to players, which player own game translate message to own language (cl_language "english") (from cstrike/resource/cstrike_*.txt)

Here is code you look
Code:
		for(new i = 1; i <= MaxClients; i++)
		{
			if(IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i)) // Chat message alive Terrorists, no bots
			{
				clients[numClients] = i; // Collect player indexs
				numClients++;
			}
		}
and you edit
Code:
		for(new i = 1; i <= MaxClients; i++)
		{
			if(IsClientInGame(i) && !IsFakeClient(i)) // Chat message to all humans
			{
				clients[numClients] = i; // Collect player indexs
				numClients++;
			}
		}

Last edited by Bacardi; 02-09-2021 at 11:56.
Bacardi is offline
dnextreme88
Junior Member
Join Date: Jan 2021
Old 02-09-2021 , 12:04   Re: [Cs:s & Cs:go] Forgotten C4 announcements
Reply With Quote #14

Quote:
Originally Posted by Bacardi View Post
Well, you did not mention, to which plugin version you wanted this, I just show you code what you edit.

Original plugin is like a example, to send in-game translation #phrase to players, which player own game translate message to own language (cl_language "english") (from cstrike/resource/cstrike_*.txt)

Here is code you look
Code:
		for(new i = 1; i <= MaxClients; i++)
		{
			if(IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) == CS_TEAM_T && IsPlayerAlive(i)) // Chat message alive Terrorists, no bots
			{
				clients[numClients] = i; // Collect player indexs
				numClients++;
			}
		}
and you edit
Code:
		for(new i = 1; i <= MaxClients; i++)
		{
			if(IsClientInGame(i) && !IsFakeClient(i)) // Chat message to all humans
			{
				clients[numClients] = i; // Collect player indexs
				numClients++;
			}
		}
I was using the latest version Woops, I was editing this part all along, based on the comments :

Code:
			//PbSetBool(filter, "chat", true);				// TeamOnlyChat
			//PbSetBool(filter, "textallchat", false);		// AllChat
Looks like I was wrong. Thank you!
dnextreme88 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-09-2021 , 12:07   Re: [Cs:s & Cs:go] Forgotten C4 announcements
Reply With Quote #15

I haven't look deeper, what those two parameters actually do or behave.
Bacardi is offline
Reply



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 01:36.


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