AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   motd with picture (https://forums.alliedmods.net/showthread.php?t=196980)

Ady20 09-27-2012 13:27

motd with picture
 
How can I make it?
For example I write /help and an motd will appear with a picture (not html file)

....

claudiuhks 09-27-2012 14:19

Re: motd with picture
 
motd.txt (addons/amxmodx/configs/motd.txt)

HTML Code:

<img src=http://www.tinypic.com/example.png></img>
Plugin

Code:
show_motd( iPlayer, "addons/amxmodx/configs/motd.txt" );

Ady20 09-27-2012 15:09

Re: motd with picture
 
Thanks a lot

fysiks 09-27-2012 19:08

Re: motd with picture
 
Quote:

Originally Posted by Ady20 (Post 1807667)
not html file

It is required to contain HTML but it can be named as a .txt.


All times are GMT -4. The time now is 08:10.

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