Raised This Month: $ Target: $400
 0% 

Basic rules plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 10-08-2009 , 18:16   Re: Basic rules plugin
Reply With Quote #3

http://amxmodx.org/funcwiki.php?go=func&id=21

Quote:
message can either be a filename or a string formatted message. With VGUI2, the message can be HTML formatted.
So there's no problem in displaying a rules.txt. I'm not exactly sure whether you need to precache it, though.

/edit: This all happens serverside - just so you know. You can't display a file that exists on the client. To check wether rules.txt exists on the server use file_exists( file[] )
__________________
In Flames we trust!
Nextra 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 22:33.


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