Maps in file
Help me please, I want create plugin which will send message in chat on samothing maps.
Here is code, I think you will understand what I want. PHP Code:
|
Re: Maps in file
Quote:
However, I think you need to trim() the lines after you read them from the file. Also, I would recommend using the "newer" file function because they are more intuitive, IMO. This is a quick version that basically does the same that you are trying to do in yours: PHP Code:
|
Re: Maps in file
But I have some errors, if I have two maps in file, server print
|
Re: Maps in file
1. That's not an error (technically).
2. Quote:
|
Re: Maps in file
I want make that on maps in file list player will have clcmd, on other maps player will not have clcmd
|
Re: Maps in file
Quote:
Documentation: Map Specific Plugins As a last resort (or if you want the command en/disabled on half of your maps): PHP Code:
|
| All times are GMT -4. The time now is 11:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.