Monthly Target: $400 Donations: $299
 74% 

[help] motd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Moshiko014
Senior Member
Join Date: Apr 2010
Old 05-05-2012 , 08:27   [help] motd
Reply With Quote #1

PHP Code:

public ShowMotd(idplayer)
{
    new 
szSteamId[32]
    new 
szMotd[256]
    new 
szTemp[128]
    
    
get_user_authid(playerszSteamIdcharsmax(szSteamId))
    
    
add(szMotdcharsmax(szMotd), "<html>")
    
add(szMotdcharsmax(szMotd), "<body leftmargin=^"0^" topmargin=^"0^" rightmargin=^"0^" bottommargin=^"0^">")
    
    
formatex(szTempcharsmax(szTemp), "<iframe src=^"http://website.com/profile.php?server=jail&steamid=%s^" width=^"1050%^" height=^"3500%^">", szSteamId)
    
add(szMotdcharsmax(szMotd), szTemp)
    
    
add(szMotdcharsmax(szMotd), "</body>")
    
add(szMotdcharsmax(szMotd), "</html>")
    
show_motd(idszMotd"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?

Last edited by Moshiko014; 05-05-2012 at 08:30.
Moshiko014 is offline
Reply


Thread Tools
Display Modes

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 19:49.


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