View Single Post
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 12-05-2018 , 20:22   Re: [CS:GO] Welcome Chat Message
Reply With Quote #6

Quote:
Originally Posted by nox4kill View Post
can you share the cfg file? so that i can edit the text inside. tq
Quote:
Originally Posted by mr_cock View Post
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
Notifications is offline