!lock PlayerID
Can anyone help me?
I didnt find any topic that answers my question.
Scripts
How I make commands with parameters?
How I make commands with parameters?
1

addhook("say","_say")
function _say(id,message)
	if string.lower(message:sub(1,7))=="!lock" then
		--lock code for player message:sub(8)
		--make sure to check if it's a number
		--and that the player exists.
	end
end
Apache uwu has writtenaddhook("say","_say")
function _say(id,message)
	if string.lower(message:sub(1,7))=="!lock" then
		--lock code for player message:sub(8)
		--make sure to check if it's a number
		--and that the player exists.
	end
end
1
