View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-21-2024 , 19:51   Re: Execute cfg via chat
Reply With Quote #9

Ah, my bad.

As fysiks said, you can do:
server_cmd( "exec %s.cfg" , szArg[ 1 ] );
or
server_cmd( "exec %s.cfg" , configs[ i ] );
both will do the exact same thing.
__________________
Bugsy is offline