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

CSGO ! to issue a say message with the command help?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rabisu
Junior Member
Join Date: May 2019
Old 02-02-2020 , 17:20   CSGO ! to issue a say message with the command help?
Reply With Quote #1

Hello to everyone. I need a simple plugin, can you help with that? I know my English is not good.

Player ! I want him to see a post I have specified with the command.

sample: !ip say: 185.xxx.xxx.xx

Can you make a simple plugin like this example? I only have smx file, can you help for sp?




Code:
"Phrases" 
{ 
    "ip" 
    { 
        "en"        "{darkred}IP Adresimiz: {green}185.xxx.xxx.xx" 
    } 
    
    "ts3" 
    { 
        "en"        "{lime}Discord Adresimiz: {darkblue}xxxxxxxx" 
    } 
}
Rabisu is offline
Cruze
Veteran Member
Join Date: May 2017
Old 02-03-2020 , 07:17   Re: CSGO ! to issue a say message with the command help?
Reply With Quote #2

Ask for .sp file from where you got this plugin or provide .smx here
__________________
Taking paid private requests! Contact me
Cruze is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 02-03-2020 , 10:20   Re: CSGO ! to issue a say message with the command help?
Reply With Quote #3

Quote:
Originally Posted by Cruze View Post
Ask for .sp file from where you got this plugin or provide .smx here
I think the plugin is this: https://forums.alliedmods.net/showthread.php?p=2392191
freak.exe_uLow is offline
zerefator
Junior Member
Join Date: Jan 2020
Location: Greece, Athens
Old 02-05-2020 , 15:57   Re: CSGO ! to issue a say message with the command help?
Reply With Quote #4

Code:
#include <sourcemod>
#include <morecolors>

#pragma semicolon 1
#pragma newdecls required

public void OnPluginStart()
{
	RegConsoleCmd("sm_ip", show_ip);
}

public Action show_ip(int client, int args)
{
	CPrintToChat(client, "\x06Server ip:\x07 185.xxx.xxx.xxx");

}
Just change the text at CPrintToChat inside the "" Have fun !
zerefator is offline
Rabisu
Junior Member
Join Date: May 2019
Old 02-15-2020 , 06:54   Re: CSGO ! to issue a say message with the command help?
Reply With Quote #5

Quote:
Originally Posted by freak.exe_uLow View Post
Thank you very much for your help
Rabisu is offline
Rabisu
Junior Member
Join Date: May 2019
Old 02-15-2020 , 06:55   Re: CSGO ! to issue a say message with the command help?
Reply With Quote #6

Quote:
Originally Posted by zerefator View Post
Code:
#include <sourcemod>
#include <morecolors>

#pragma semicolon 1
#pragma newdecls required

public void OnPluginStart()
{
	RegConsoleCmd("sm_ip", show_ip);
}

public Action show_ip(int client, int args)
{
	CPrintToChat(client, "\x06Server ip:\x07 185.xxx.xxx.xxx");

}
Just change the text at CPrintToChat inside the "" Have fun !
Thank you very much for your help
Rabisu is offline
alphaearth
Senior Member
Join Date: Feb 2018
Location: Turkey
Old 02-17-2020 , 16:56   Re: CSGO ! to issue a say message with the command help?
Reply With Quote #7

Code:
#include <sourcemod>
#include <multicolors>
#pragma newdecls required

public void OnPluginStart()
{
	RegConsoleCmd("sm_ip", show_ip);
	LoadTranslations("show_ip.phrases");
}

public Action show_ip(int client, int args)
{
	CPrintToChat(client, "%t", "Show Ip");
}
Code:
"Phrases"
{
	"Show Ip"
	{
		"en"			"{darkred}IP Adress: {green}xxx.xxx.xxx.xxx"
		"tr"			"{darkred}IP Adresi: {green}xxx.xxx.xxx.xxx"
	}
}
Attached Files
File Type: txt show_ip.phrases.txt (145 Bytes, 100 views)
File Type: smx show_ip.smx (11.5 KB, 91 views)
__________________
alphaearth 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 17:18.


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