Raised This Month: $ Target: $400
 0% 

Motd with img (img url from cvar)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 10-13-2010 , 09:17   Re: Motd with img (img url from cvar)
Reply With Quote #1

Quote:
Originally Posted by bigbud View Post
PHP Code:
new g_WebSite;

public 
plugin_init ( ) {
    
g_WebSite register_cvar"amx_website""www.--.com" );
}
    
// get your pcvar value as a string
    
new szURL[33];
    
get_pcvar_string(g_WebSiteszURL32);
    
iLen += formatexsBufferiLen ], CharsMaxsBuffer ) - iLen,  "<center><img  src='http://%s/images/image_01.jpg'></img></center><br>"szURL); 
Thank you
Debesėlis is offline
Reply



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 10:15.


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