Basic rules plugin
Hi, Im making a basic rules plugin, i know there are alot out there, hence im not going to publish it.
Although when I compile it, I get this: Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.PHP Code:
Another bonus question: How can I make it so that when A person has a text file in the same folder as there motd.txt file is, and that file is named "rules.txt", it reads from that file to put it in the motd. Any help would be greatly appreciated. :) |
Re: Basic rules plugin
Nevermind guys, I got it working, my code so far is:
PHP Code:
How can I make it so that when A person has a text file in the same folder as there motd.txt file is, and that file is named "rules.txt", it reads from that file to put it in the motd. |
Re: Basic rules plugin
http://amxmodx.org/funcwiki.php?go=func&id=21
Quote:
/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[] ) |
Re: Basic rules plugin
Quote:
PHP Code:
|
Re: Basic rules plugin
thank you, I figured it out before, but thanks for the reply :D
|
Re: Basic rules plugin
:)
|
| All times are GMT -4. The time now is 22:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.