Quote:
Originally Posted by jonnzus
So this is right?
public reload()
{
server_cmd("exec cstrike\addons\amxmodx\configs\amx.cfg");
}
And when it loads that does server make those commands what are inside of amx.cfg?
|
Remove "cstrike\" it already assumes you are in the cstrike directory. Also, the default file is actually called "amxx.cfg".
Quote:
Originally Posted by kramesa
Untested:
|
Clearly. And, it's pointless to use a file for that. If you don't want it hardcoded, you could use a cvar. However, if the OP is able to compile the plugin him/herself then I would recommend hardcoding it.
__________________