Making A Pluging read A CFG
HellO!
i was just thinking how to make a plugin read a cfg file... like if someone "amx_fuck" then the plugin will read "fuck.cfg" and then print it out on console? |
It would be possible to make a plugin like amx_cfgprint <cfgname> and then print it to the MOTD window thing.
|
You can either have the client execute a cfg on their own computer with client_cmd() or you can read one in line by line, and make the client execute each command.
|
Quote:
|
| All times are GMT -4. The time now is 14:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.