AddItem返回INVALID_TOPMENUOBJECT可能是因为添加菜单项时发生了错误,例如参数不正确或者菜单已满。建议检查代码中添加菜单项的参数和逻辑是否正确,或者查看错误日志以获取更多信息。

#include sourcemod#include adminmenu TopMenu TMenu = null;TopMenuObject Menu1; public Plugin myinfo =	name = ZombiePlugin	author = xxk	description = ZombiePlugin	version = 10	url = httpwwwsourcemodne

原文地址: https://www.cveoy.top/t/topic/hguC 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录