Raised This Month: $ Target: $400
 0% 

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: Bugsy
Forum: Scripting Help 04-21-2024, 19:51
Replies: 9
Views: 1,110
Posted By Bugsy
Re: Execute cfg via chat

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.
Forum: Scripting Help 04-20-2024, 23:25
Replies: 9
Views: 1,110
Posted By Bugsy
Re: Execute cfg via chat

Add your config files to the array, excluding the ".cfg" extension. Do you want to limit who can execute config files to admins only?

This will support saying /lo3 or .lo3

#include <amxmodx>
...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 04:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode