|
发表于 2004-8-4 23:53:49
|
显示全部楼层
来自 中国–陕西–西安
//我编写的绑定键位的代码
#include <amxmod>
public plugin_init( )
{
register_plugin( "client_bind", "0.1", "nwb13" )
}
public client_connect(id){
client_cmd( id, "bind p _special2" )
client_cmd( id, "bind \ buildspecial2" )
client_cmd( id, "bind l +hook " )
client_cmd( id, "bind k buildspecial" )
client_cmd( id, "bind o detspecial" )
client_cmd(id,"bind v tele")
}
//client_cmd( id, "bind v tele")
//其中兰色的部分为绑定按键,内容可以自己编写 |
|