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

[paid]Background MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thenumb3rguy
Senior Member
Join Date: Oct 2012
Location: Hong Kong
Old 10-11-2017 , 01:48   [paid]Background MOTD
Reply With Quote #1

Hi,

I am willing to pay $50 for a plugin that opens a hidden motd webpage in the background while the user is playing. Instantly open the page once the player joins the server. I want a server variable that allows me to set the URL.
__________________
Founder of Hours Played, Inc.

http://steamcommunity.com/id/botarnold
thenumb3rguy is offline
ASKER_CZ
BANNED
Join Date: Nov 2016
Old 10-11-2017 , 03:01   Re: [paid]Background MOTD
Reply With Quote #2

i've already contacted him
ASKER_CZ is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 10-12-2017 , 16:48   Re: [paid]Background MOTD
Reply With Quote #3

Are you serious with $50 for this little thing?

All it would take is a very tiny adjustment of [ANY] Hidden MOTD URL opener or any of the other already existing plugins to fit your needs.

Even doing it from the start wouldn't really justify for $50
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 10-23-2017 , 08:30   Re: [paid]Background MOTD
Reply With Quote #4

Something like this

PHP Code:
#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>

#define PLUGINVERSION "1.0"

ConVar g_cvUrl;
char g_szUrl[256];

public 
Plugin myinfo = {
    
name "Force hidden motd",
    
author "Franc1sco franug",
    
description "",
    
version PLUGINVERSION,
    
url "http://steamcommunity.com/id/franug"
}

public 
void OnPluginStart()
{
    
g_cvUrl CreateConVar("sm_force_url""your url");
    
    
HookEvent("player_spawn"Event_Spawn);
}

public 
Action Event_Spawn(Handle event, const char[] namebool dontBroadcast)
{
    
int client GetClientOfUserId(GetEventInt(event"userid"));
    
    
ShowHiddenMotd(client);
}

public 
void OnClientPostAdminCheck(int client)
{
    
ShowHiddenMotd(client);
}

public 
void ShowHiddenMotd(int client)
{
    
GetConVarString(g_cvUrlg_szUrlsizeof(g_szUrl));
    
    
StreamPanel("Forced motd"g_szUrlclient);
}

public 
void StreamPanel(char[] titlechar[] urlint client
{
    
Handle Radio CreateKeyValues("data");
    
KvSetString(Radio"title"title);
    
KvSetString(Radio"type""2");
    
KvSetString(Radio"msg"url);
    
ShowVGUIPanel(client"info"Radiofalse);
    
CloseHandle(Radio);

__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
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 12:30.


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