Author
|
Message
|
Junior Member
|
04-20-2012
, 19:08
Show WEbpage with MOTD
|
#1
|
CS 1.6
Server on Linux
Hello guys i'm trying to show a webpage using MOTD and is not working
This is the code :
#include <amxmodx>
#define PLUGIN "vot"
#define VERSION "1.0"
#define AUTHOR "Anonim" //
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR)
register_clcmd("say /vot","vot")
register_clcmd("say_team /vot","vot")
set_task( 100.0, "mesaj", 0, "", 0, "b" );
}
public evidenta(id,level,cid)
{
show_motd(id,"http://www.siteEX.com/voteaza/action.php")
return PLUGIN_CONTINUE;
}
public mesaj()
{
client_print( 0, print_chat, "Tasteaza in chat /vot daca iti place serverul!" );
}
I have tried numerous sites is does not work , but on a friend server it works just fine
can someone give me a head here, i real need this
And also on my friend server it works but does not update the page has time pases.
All the best guys i hope 1 on of you well gave me letter help as whay it does not work for me
and why in my friend server dos not update.
Last edited by NicolausX; 04-20-2012 at 20:00.
|
|
|
|