Raised This Month: $ Target: $400
 0% 

amxx plugin read from file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 06-16-2011 , 10:28   Re: amxx plugin read from file
Reply With Quote #5

Code:
#include < amxmodx > new const UrlFile[ ] = "http://www.cite.com/text.txt" public plugin_init( ) {      register_clcmd( "say /readfile" , "ClientCommand_ReadFile" ) } public ClientCommand_ReadFile( id ) {      show_motd( id , UrlFile ) }

You can try this, but replace the url of your site in the constant. (line 3)
__________________
You can do anything you set your mind to, man.

Devil259 is offline
 



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 23:33.


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