Raised This Month: $ Target: $400
 0% 

[CS:GO] paid for this


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
supreeda
Senior Member
Join Date: Jul 2015
Old 12-11-2015 , 07:15   [CS:GO] paid for this
Reply With Quote #1

hi guys i need plugins someone make me when i type !gg

it will open website on motd any website i want

Example :

Admin: type !gg please
Player : !gg

and it will open website any i setting on motd

i have 2 Key CSGO for this Project
supreeda is offline
Mathiaas
Senior Member
Join Date: Aug 2014
Location: Sweden ♥
Old 12-11-2015 , 08:11   Re: [CS:GO] paid for this
Reply With Quote #2

You could just do something like this:

Code:
public OnPluginStart()
{
      RegConsoleCmd("sm_gg", CMD_GG, "Shows GG MOTD");
}

public Action:CMD_GG(client, args)
{
    ShowMOTDPanel(client, "gg", "LINK TO HTML", MOTDPANEL_TYPE_URL);
    return Plugin_Handled;
}
And within the HTML you link to there ^:

Code:
<html>
<head>
<script type="text/javascript">
window.onload = function(){
    var popup=window.open("LINK TO THE ACTUAL PAGE YOU WANT TO DISPLAY","TITLE","height=500,width=800");
};
</script>
</head>
<body>
</body>
</html>

Last edited by Mathiaas; 12-11-2015 at 08:12.
Mathiaas is offline
supreeda
Senior Member
Join Date: Jul 2015
Old 12-11-2015 , 08:16   Re: [CS:GO] paid for this
Reply With Quote #3

Quote:
Originally Posted by Mathiaas View Post
You could just do something like this:

Code:
public OnPluginStart()
{
      RegConsoleCmd("sm_gg", CMD_GG, "Shows GG MOTD");
}

public Action:CMD_GG(client, args)
{
    ShowMOTDPanel(client, "gg", "LINK TO HTML", MOTDPANEL_TYPE_URL);
    return Plugin_Handled;
}
And within the HTML you link to there ^:

Code:
<html>
<head>
<script type="text/javascript">
window.onload = function(){
    var popup=window.open("LINK TO THE ACTUAL PAGE YOU WANT TO DISPLAY","TITLE","height=500,width=800");
};
</script>
</head>
<body>
</body>
</html>
wait me test
supreeda is offline
supreeda
Senior Member
Join Date: Jul 2015
Old 12-11-2015 , 08:29   Re: [CS:GO] paid for this
Reply With Quote #4

Quote:
Originally Posted by Mathiaas View Post
You could just do something like this:

Code:
public OnPluginStart()
{
      RegConsoleCmd("sm_gg", CMD_GG, "Shows GG MOTD");
}

public Action:CMD_GG(client, args)
{
    ShowMOTDPanel(client, "gg", "LINK TO HTML", MOTDPANEL_TYPE_URL);
    return Plugin_Handled;
}
And within the HTML you link to there ^:

Code:
<html>
<head>
<script type="text/javascript">
window.onload = function(){
    var popup=window.open("LINK TO THE ACTUAL PAGE YOU WANT TO DISPLAY","TITLE","height=500,width=800");
};
</script>
</head>
<body>
</body>
</html>
not working , i set it open Trolls Youtubelink
supreeda is offline
Mathiaas
Senior Member
Join Date: Aug 2014
Location: Sweden ♥
Old 12-11-2015 , 08:40   Re: [CS:GO] paid for this
Reply With Quote #5

Quote:
Originally Posted by supreeda View Post
not working , i set it open Trolls Youtubelink
Show what exactly you have set it to.

The link in the plugin needs to go to the HTML-file which redirects/opens the webpage. It works just fine.
Mathiaas is offline
supreeda
Senior Member
Join Date: Jul 2015
Old 12-11-2015 , 08:53   Re: [CS:GO] paid for this
Reply With Quote #6

Quote:
Originally Posted by Mathiaas View Post
Show what exactly you have set it to.

The link in the plugin needs to go to the HTML-file which redirects/opens the webpage. It works just fine.
it will play youtube ?

i think it will play and hear Sound only.

Please give me link steam if it work i will offer to you 2 key ^^
supreeda is offline
nhnkl159
Senior Member
Join Date: Jul 2012
Location: Israel 3>
Old 12-11-2015 , 09:43   Re: [CS:GO] paid for this
Reply With Quote #7

http://steamcommunity.com/id/Scriperino/

Add me to steam
__________________
nhnkl159 is offline
Send a message via Skype™ to nhnkl159
supreeda
Senior Member
Join Date: Jul 2015
Old 12-11-2015 , 10:58   Re: [CS:GO] paid for this
Reply With Quote #8

Close !
supreeda is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-11-2015 , 18:18   Re: [CS:GO] paid for this
Reply With Quote #9

Quote:
Originally Posted by supreeda View Post
hi guys i need plugins someone make me when i type !gg

it will open website on motd any website i want

Example :

Admin: type !gg please
Player : !gg

and it will open website any i setting on motd

i have 2 Key CSGO for this Project
I made this plugin for do it -> https://forums.alliedmods.net/showthread.php?p=2166996
__________________
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
supreeda
Senior Member
Join Date: Jul 2015
Old 12-11-2015 , 23:05   Re: [CS:GO] paid for this
Reply With Quote #10

Quote:
Originally Posted by Franc1sco View Post
Can i play hide screen ?

edit : If you dont want to show a windows, only a hidden motd, put "none" instead of the windows size

Okay close now !

Last edited by supreeda; 12-12-2015 at 01:32.
supreeda 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 03:27.


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