我有一个服务器,想在我放入命令的菜单中添加选项卡
local force = actions:AddOption( "Kick Player from the game" )
force:SetIcon( "icon16/delete.png" )
function force:DoClick()
RunConsoleCommand("ulx kick","reason", ply:EntIndex())
end
但我得到这个错误标志
RunConsoleCommand: Command has invalid characters! (ulx kick (' '))
The first parameter of this function should contain only the command, the second parameter should contain arguments.
请任何人都可以帮助我