AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Welcome Chat Message (https://forums.alliedmods.net/showthread.php?t=305426)

Markie 02-19-2018 12:41

[CS:GO] Welcome Chat Message
 
1 Attachment(s)
CS:GO - Welcome Chat Message (WCM).

This plugin allows you to send any messages to new players connecting to your server.

This overall plugin is inspired by PNKS! Competitive servers, so shoutout to them.

Here's some in-game screenshots of what the plugin looks like: https://gyazo.com/5c29e45423d193734be7e05eb853c2a3

Note: Don't pm me for support, just post here so others can help and learn from the answers.

Thank's for checking this plugin out, if you appreciate my work, feel free to donate!
<3


Steam: http://steamcommunity.com/profiles/76561198445006242/
If you're checking out my steam profile, I apologize for the picture of the models on my artwork showcase, I don't have a girlfriend. That should be fairly obvious XD.

Nanochip 02-19-2018 14:17

Re: [CS:GO] Welcome Chat Message
 
Since it compiles on the forums, don't attach an smx file.

AceNetworks 02-19-2018 14:19

Re: [CS:GO] Welcome Chat Message
 
Nice!:grrr:

nox4kill 05-25-2018 12:26

Re: [CS:GO] Welcome Chat Message
 
can you share the cfg file? so that i can edit the text inside. tq

mr_cock 12-05-2018 19:49

Re: [CS:GO] Welcome Chat Message
 
How do I change the text of the message? I dont see a config file!

Notifications 12-05-2018 20:22

Re: [CS:GO] Welcome Chat Message
 
Quote:

Originally Posted by nox4kill (Post 2593829)
can you share the cfg file? so that i can edit the text inside. tq

Quote:

Originally Posted by mr_cock (Post 2626932)
How do I change the text of the message? I dont see a config file!

Legit the first few lines within the plugin SP file
Quote:

public void OnPluginStart()
{
g_cServerLink = CreateConVar("sm_cmsg_serverlink", "www.yourwebsite.com/sourcebans", "Link to your servers page");
g_cWebsiteLink = CreateConVar("sm_cmsg_websitelink", "www.yourwebsite.com", "Link to your website");

HookEvent("player_spawn", Event_OnPlayerSpawn);
}
Alternatively do it via the sm commands sm_cmsg_serverlink and sm_cmsg_websitelink

Godzilla 03-15-2019 18:48

Re: [CS:GO] Welcome Chat Message
 
Code:

PrintToChat(client, "=[Gs]= \x07~ \x01Hey Ho, \x03%N", client);
        PrintToChat(client, "=[Gs]= \x07~ \x01Please Join https://www.ghostingsquad.com/ \x06%s", client, sWebsiteLink);
        PrintToChat(client, "=[Gs]= \x07~ \x01Have Fun, Be Nice. Enjoy!", client);
        PrintToChat(client, "=[Gs]= \x07~ \x01Servers: \x06%s", client, sServerLink);
        PrintToChat(client, "=[Gs]= \x07~ \x04Update\x01: \x10https://www.ghostingsquad.com/ \x01Added!", client);
        g_bMessagesShown[client] = true;

Does not work?

jolugara 07-27-2021 13:31

Re: [CS:GO] Welcome Chat Message
 
Does anyone know the way to change the prefix and put the one of my server?


All times are GMT -4. The time now is 22:00.

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