Monthly Target: $400 Donations: $602
 150% 

[help] motd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Moshiko014
Senior Member
Join Date: Apr 2010
Old 05-05-2012 , 08:32   [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> 
Moshiko014 is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 05-05-2012 , 08:45   Re: [help] motd
Reply With Quote #2

Dont double post.
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
Moshiko014
Senior Member
Join Date: Apr 2010
Old 05-05-2012 , 08:50   Re: [help] motd
Reply With Quote #3

i dont know were to put it ....

help please?
Moshiko014 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-06-2012 , 02:06   Re: [help] motd
Reply With Quote #4

Does this work:

PHP Code:
szMotd[128]
formatex(szMotdcharsmax(szMotd), "http://website.com/profile.php?server=jail&steamid=%s"szSteamId)
show_motd(idszMotd
__________________

Last edited by fysiks; 05-06-2012 at 02:07.
fysiks is offline
Old 05-06-2012, 03:15
EpicMonkey
This message has been deleted by EpicMonkey. Reason: nvm
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 00:25.


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