|
楼主 |
发表于 2004-8-6 20:11:27
|
显示全部楼层
来自 中国–陕西–西安
我本来想用say menu来给玩家增加些魔兽的命令,但为什么不起作用????
举个例子:
"商店1说明" "say /itemsinfo" "b" "p"
但到游戏里面一按,什么也不出
我又用,“y /itemsinfo”或者“y itemsinfo”功能就会正常
百思不得其解
是因为在代码里不同
register_clcmd("changerace","change_race",-1,"changerace")
register_clcmd("selectskill","select_skill",-1,"selectskill")
register_clcmd("skillsinfo","skills_info",-1,"skillsinfo")
register_clcmd("resetskills","resetskills",-1,"resetskills")
register_clcmd("resetxp","amx_resetxp",-1,"resetxp")
register_clcmd("itemsinfo","items_info",-1,"itemsinfo")
register_clcmd("itemsinfo2","items_info2",-1,"itemsinfo2")
register_clcmd("war3help","war3_info",-1,"war3help")
register_clcmd("war3vote","war3_vote",-1,"war3vote")
register_clcmd("ultimate","ultimate",-1,"ultimate")
register_clcmd("shopmenu","shopmenu",-1,"shopmenu")
register_clcmd("shopmenu2","shopmenu2",-1,"shopmenu2")
register_clcmd("rings","rings5",-1,"rings")
register_clcmd("ability","ability",-1,"ability")
register_clcmd("say","check_say")
register_clcmd("say_team","check_say")
看见了没,做的事检查say和say_team,然后再代码里检测作对比
如果是register_clcmd("say /itemsinfo","xxx")那就可以了
不知道我说明白了没,哈哈
可以和stats对比一下,就明白了
如果你要bind的话,直接bind p itemsinfo
Post by 天下飞红
请问楼主,CS1.5能玩吗?楼主你辛苦了,再接再厉哟! :65:
可以玩!
这样吧!你一定现在对插件还不了解,按我说的做
下这里的插件,安装完了后,下我昨天给你的amx文件(注意,那个是amx版的),把那个文件直接复制到plugin目录里 |
|