PHP Code:
public ShowMotd(id, player)
{
new szSteamId[32]
new szMotd[256]
new szTemp[128]
get_user_authid(player, szSteamId, charsmax(szSteamId))
add(szMotd, charsmax(szMotd), "<html>")
add(szMotd, charsmax(szMotd), "<body leftmargin=^"0^" topmargin=^"0^" rightmargin=^"0^" bottommargin=^"0^">")
formatex(szTemp, charsmax(szTemp), "<iframe src=^"http://website.com/profile.php?server=jail&steamid=%s^" width=^"1050%^" height=^"3500%^">", szSteamId)
add(szMotd, charsmax(szMotd), szTemp)
add(szMotd, charsmax(szMotd), "</body>")
add(szMotd, charsmax(szMotd), "</html>")
show_motd(id, szMotd, "Achievements")
}
when i put this code. the motd shows me only this, instend the real website.
PHP Code:
<iframe src=^"http://website.com/profile.php?server=jail&steamid=%s^" width=^"1050%^" height=^"3</body></html>
help someone?