Ben_Ladeng 发表于 2005-5-16 06:30:21

【求助】怎样在H键里设置AMXX插件的开关?,

如题,写了以下这些脚本:

"3" "AMXX hotkey"
             {
            "0" "on" "gamedll'addons\metamod\dlls\metamod.dll';sv_restartround 1;say %on!"
            "1" "off" "gamedll'dlls\mp.dll';mp_startmoney 800;sv_restartround 1;say %off!"
             }

但是不能用,gamedll和addons之间不知道该用什么来连接.................. :cry:

我刚来不久,不知道这样可不可能实现,各位大大不要笑我啊. :brick:

BoeZombie 发表于 2005-5-16 22:19:11

目前我知道Server控制台命令:
meta force_unload amxx
可以关闭amxx

meta <command> [<arguments>]
valid commands are:
version - display Metamod version info
list - list plugins currently loaded
cmds - list console cmds registered by plugins
cvars - list cvars registered by plugins
refresh - load/unload any new/deleted/updated plugins
config - show config info loaded from config.ini
load <name> - find and load a plugin with the given name
unload <plugin> - unload a loaded plugin
reload <plugin> - unload a plugin and load it again
info <plugin> - show all information about a plugin
pause <plugin> - pause a loaded, running plugin
unpause <plugin> - unpause a previously paused plugin
retry <plugin> - retry a plugin that previously failed its action
clear <plugin> - clear a failed plugin from the list
force_unload <plugin> - forcibly unload a loaded plugin
require <plugin> - exit server if plugin not loaded/running

Post by Ben_Ladeng
gamedll和addons之间不知道该用什么来连接.................. :cry://您的创造性思维值得赞许,但思路不对,怎么能在CS里企图使用win CMD命令连接&写入文件?如果真是这样,那CS岂不成了黑客工具!>_<||

Ben_Ladeng 发表于 2005-5-16 15:08:15

偶晕啊,怎么没人理偶 :cry::cry::cry:

Ben_Ladeng 发表于 2005-5-16 23:52:19

:brick::brick::brick::brick:
不好意思,菜鸟就是我啊.

BoeZombie 发表于 2005-5-17 00:13:05

no,当初的我,也许都问不出这问题,无所谓菜与不菜,手熟 ^^
页: [1]
查看完整版本: 【求助】怎样在H键里设置AMXX插件的开关?,