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

[CSS] !rules=website


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bigsplash
Senior Member
Join Date: Mar 2009
Old 12-04-2015 , 21:09   [CSS] !rules=website
Reply With Quote #1

Is it possible to have players type !rules ingame and then have a website open ingame?
__________________
Bigsplash is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-04-2015 , 21:23   Re: [CSS] !rules=website
Reply With Quote #2

Yea, look for web shortcuts
Make sure it does not use some remote server that isn't yours
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 12-05-2015 , 07:40   Re: [CSS] !rules=website
Reply With Quote #3

sm hosties contains a !rules that allows motd.
Check the code out to see how it works.
__________________
No longer taking requests due to lack of time and interrest.
Only helping out with minor things through forum.
tommie113 is offline
Clamouzes
Junior Member
Join Date: May 2013
Old 12-05-2015 , 15:26   Re: [CSS] !rules=website
Reply With Quote #4

It's simple


PHP Code:
public OnPluginStart()
{
    
RegConsoleCmd("sm_rules"command_rules""0);
}

public 
Action:command_rules(clientargs)
{
    new 
String:title[64] = "Your Title";
    new 
String:url[256] = "Your website";
    
ShowMOTDPanel(clienttitleurlMOTDPANEL_TYPE_URL);
    return 
Action:0;

Clamouzes 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 19:32.


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