Raised This Month: $ Target: $400
 0% 

Request plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JeffTM1TAP
Member
Join Date: Dec 2018
Old 01-03-2019 , 15:38   Request plugin
Reply With Quote #1

Hello guys, anyone can make a plugin chat reply, when someone writes !owner in chat server reply with a message with owner profile, with colors, not necessarily owner, so I can put messages like this :
!owner
[ 1TAP ] Owner-ul este.... etc.
JeffTM1TAP is offline
iskenderkebab33
Senior Member
Join Date: Jun 2018
Old 01-03-2019 , 16:54   Re: Request plugin
Reply With Quote #2

PHP Code:
#include <sourcemod>

#define CHAT_TAG "[ 1TAP ]"
#define OWNER_URL https://steamcommunity.com/id/JohnDoe"

public void OnPluginStart()
{
    
RegConsoleCmd("sm_owner"CMD_OWNER);
}

public 
Action CMD_OWNER(int clientint args)
{
    
ReplyToCommand(client"%s \x02 Owner: \x05 John Doe \x01 - %s"CHAT_TAGOWNER_URL);

copy from other thread

Last edited by iskenderkebab33; 01-03-2019 at 17:16.
iskenderkebab33 is offline
JeffTM1TAP
Member
Join Date: Dec 2018
Old 01-03-2019 , 17:44  
Reply With Quote #3

.. oh man, you dont understand, for example someone type !vipinfo and in chat reply a messge witch i set with vip info, like command and reply...

And contains csgo_colors.inc

Last edited by DarkDeviL; 01-04-2019 at 15:02. Reason: Merged bump
JeffTM1TAP is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 01-03-2019 , 21:02   Re: Request plugin
Reply With Quote #4

Give more info please, i didn't understand
__________________
NanoC is offline
Send a message via Skype™ to NanoC
JeffTM1TAP
Member
Join Date: Dec 2018
Old 01-04-2019 , 02:17   Re: Request plugin
Reply With Quote #5

Like, im writing !forum and in chat apears a reply message with a message wil i set.
JeffTM1TAP is offline
JeffTM1TAP
Member
Join Date: Dec 2018
Old 01-04-2019 , 02:25   Re: Request plugin
Reply With Quote #6

SOLVED
JeffTM1TAP is offline
iskenderkebab33
Senior Member
Join Date: Jun 2018
Old 01-04-2019 , 02:35   Re: Request plugin
Reply With Quote #7

Quote:
Originally Posted by JeffTM1TAP View Post
Like, im writing !forum and in chat apears a reply message with a message wil i set.
the code i send was like, !owner in the chat -- it will reply in colors

[ 1TAP ] Owner: John Doe - https://steamcommunity.com/id/JohnDoe

Last edited by iskenderkebab33; 01-04-2019 at 02:39.
iskenderkebab33 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 05:42.


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