Nice Social by sector

Shadowless

Пользователь
Регистрация
24 Фев 2019
Сообщения
237
Симпатии
4
Пол
Мужской
Sorry if its wrong forum (move it in correct forum)

here is Nice Social 1.0

everything work great from plugin side but webpages is not shown in frame
is it posible to show this social webpages by show_motd
please advice me what to do....


C++:
/* 
Nice Social Created by sector
Web. Help www.chatbox.do.am
*/

#include <amxmodx>
#include <amxmisc>

public plugin_init() 
{
    register_plugin("Nice Social", "1.0", "sector")
    
    register_clcmd("say /social", "social_menu")
}

public social_menu(i)
{
    new s_menu = menu_create("\нCheck Social Webpages?", "social_menu_func")
    menu_additem(s_menu, "\wVK.com", "1", 0)
    menu_additem(s_menu, "\wFB.com", "2", 0)
    menu_additem(s_menu, "\wTwitter.com", "3", 0)
    menu_additem(s_menu, "\wOK.ru", "4", 0)
    
    menu_setprop(s_menu, MPROP_EXIT, MEXIT_ALL)
    menu_display(i, s_menu, 0)
}

public social_menu_func(i, menu, item)
{
    if(item == MENU_EXIT) 
    {
        menu_destroy(menu)
        return PLUGIN_HANDLED
    }
    new data[6], Name[64], access, callback
    
    menu_item_getinfo(menu, item, access, data, 5, Name, 63, callback)
    new keys = str_to_num(data) 
    switch(keys)
    {
        case 1:
        {
            show_motd(i, "addons\amxmodx\configs\nice_social\vk.txt", "VK.com")
        }
        case 2:
        {
            show_motd(i, "addons\amxmodx\configs\nice_social\fb.txt", "FaceBook.com")
        }
        case 3:
        {
            show_motd(i, "addons\amxmodx\configs\nice_social\tr.txt", "Twitter.com")
        }
        case 4:
        {
            show_motd(i, "addons\amxmodx\configs\nice_social\odn.txt", "OK.ru")
        }
    }
    menu_destroy(menu)
    return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1251\\ deff0\\ deflang1049{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/

C++:
<html>
<iframe src="https://vk.com/" frameborder='0' width='1280' height='1000' scrolling='yes'></iframe>
</html>
C++:
<html>
<iframe src="https://www.facebook.com/" frameborder='0' width='1280' height='1000' scrolling='no'></iframe>
</html>
C++:
<html>
<iframe src="https://twitter.com/" frameborder='0' width='1280' height='1000' scrolling='yes'></iframe>
</html>
C++:
<html>
<iframe src="https://ok.ru/" frameborder='0' width='1280' height='1000' scrolling='no'></iframe>
</html>
 
Сверху Снизу