Raised This Month: $ Target: $400
 0% 

call an .txt file on window


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dixo1
Junior Member
Join Date: Jun 2008
Old 07-26-2008 , 19:16   call an .txt file on window
Reply With Quote #1

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 thx if you can help for im a beginner scripter so o cant make it self
dixo1 is offline
soak
Junior Member
Join Date: Jan 2008
Old 07-27-2008 , 06:04   Re: call an .txt file on window
Reply With Quote #2

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 

soak 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 05:36.


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