Raised This Month: $ Target: $400
 0% 

Solved motd qs


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lexzor
Veteran Member
Join Date: Nov 2020
Old 08-07-2021 , 09:43   motd qs
Reply With Quote #1

Heyo. It is possible to display and use an external site? I want to make a roulette site where player have to log in and play and i want to display it using motd.

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_clcmd("show_motd2""show_motd2");
}

public 
show_motd2(id)
{
    new 
motd[256];
    
formatex(motdsizeof(motd) - 1,\
    
"<html><head><meta http-equiv=^"Refresh^" content=^"0;url=www.softserver.ro/ruleta/index.html^"></head><body><p><center>LOADING...</center></p></body></html>");
    
show_motd(idmotd);

On this code the motd is opening but i get -6 error.

Last edited by lexzor; 08-08-2021 at 19:48.
lexzor is offline
 



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 02:36.


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