AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   call an .txt file on window (https://forums.alliedmods.net/showthread.php?t=74890)

dixo1 07-26-2008 19:16

call an .txt file on window
 
Hey there i really whant an code to how i do:

like then i say /donation it will call fx an file called donationhelp.txt and then the text in the file ( html ) will be showing on a window like the motd.txt :grrr: thx if you can help for im a beginner scripter so o cant make it self :wink:

soak 07-27-2008 06:04

Re: call an .txt file on window
 
PHP Code:

#include <amxmodx> 
#include <amxmisc> 

public plugin_init() 

    
register_plugin("Donation""1.0""amxmodx.org"
    
register_clcmd("say /donation""donation"
     


public 
donation(id

    
show_motd(id,"addons/amxmodx/configs/donation.txt"

     return 
PLUGIN_HANDLED 




All times are GMT -4. The time now is 05:36.

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