View Single Post
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 04-15-2012 , 16:50   Re: Reload amx.cfg in every round.
Reply With Quote #9

Quote:
Originally Posted by fysiks View Post
Remove "cstrike\" it already assumes you are in the cstrike directory. Also, the default file is actually called "amxx.cfg".



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.
Ok thanks.

Btw does it need to be like this;


server_cmd("exec /addons/amxmodx/configs/amxx.cfg");
or this?
server_cmd("exec "/addons/amxmodx/configs/amxx.cfg");
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline