Read text from .cfg file
How can I make a function to read text from a .cfg file?
EXAMPLE The plugin must use a file called 'steamids.cfg' And what I would like to know, how and what function will read the .cfg and put into "if(equal(steamid,.." func PHP Code:
|
Re: Read text from .cfg file
take a read of this and see if you understand...
https://forums.alliedmods.net/showpo...0&postcount=27 use what you need to make your plugin work. |
Re: Read text from .cfg file
PHP Code:
PHP Code:
|
Re: Read text from .cfg file
of course because your not saving the steamID's properly in here.
Code:
RE read that link i posted and use that whole code and see how it works... then you might understand how to use it for yourself. |
Re: Read text from .cfg file
The link you posted is about what I need, but the code uses "enum", and for every steamid I need duplicate the colorchat message. I just need that message usable for all steamids in the config
|
Re: Read text from .cfg file
I Guess !!
PHP Code:
|
Re: Read text from .cfg file
Can you fix for me this ! @Blizzard_87 :/ Please
Code:
|
Re: Read text from .cfg file
Anyone do this?
What is the correctly way to do it? Create steamids.cfg Read all steamid stored in the file Use that steamids in the colorchat func |
Re: Read text from .cfg file
Quote:
|
Re: Read text from .cfg file
We need your help here and don't tell us to figure by self !!
if you know how . post the code to learn !! I hope you understand . i will grateful for your help . |
| All times are GMT -4. The time now is 09:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.