Jump to content

Desabilitar comandos F1 como ?


Recommended Posts

  • Other Languages Moderators

Você pode editar o fr_client.lua de seu Freeroam, retirando ou alterando os comandos. Pesquise por addCommandHandler dentro desse arquivo e vá alterando-o.

Outra opção é criando um script que bloqueie tais comandos.

local blockedCommands = {
	["cv"] = true,
	["createvehicle"] = true,
}

addEventHandler("onPlayerCommand", root,
	function(c)
		if (blockedCommands[c]) then
			cancelEvent()
		end
	end
)

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...