Load config file?
I want to load a .ini file to a client_print how do I do that?
|
Re: Load config file?
|
Re: Load config file?
Thanks, gotta check it out
|
Re: Load config file?
Im new to scripting in amxx so it is hard to convert it to what I want.
I want people to write something in a .ini file and then if u example type /text the text you wrote in the .ini file should show up when u type that. |
Re: Load config file?
How many different lines are you looking to have in the .ini file?
|
Re: Load config file?
hmm 3 lines
|
Re: Load config file?
Here's something similar to what you need. You could also provide us with more info, like how often will you load the text and if the text in file can somehow be changed during the game. Your file with text should be located in amxmodx/configs/text.ini by default.
PHP Code:
|
Re: Load config file?
THANKS man but when I type too mush it makes a new line but it isnt in color? Do u know how to fix that?
|
Re: Load config file?
It uses client_print( ), which defaults to the yellow color and cannot change colors.
|
Re: Load config file?
I know but I changed it to colorchat
|
| All times are GMT -4. The time now is 08:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.