wanted a script that works, if someone can find post? , ...., I need an URGENT
type
! Lock (ID)
! unlock (ID)
Thank you post there
admins={} lock={} addhook("say","_say") addhook("team","_team") function _say(id,message) 	for _,id2 in ipairs(admins) do 		if player(id,"usgn")==id2 then 			if string.sub(message,1,6)=="!lock " then 			lock[player(string.sub(message,7),"ip")]=true 			msg("player locked") 		elseif string.sub(message,1,8)=="!unlock " then 			lock[player(string.sub(message,9),"ip")]=nil 			msg("player unlocked") 		end 		return 1 	end end function _team(id) 	if lock[player(id,"ip")]==true then 		msg("you are locked") 		return 1 	end end
admins={} lock={} addhook("say","_say") addhook("team","_team") function _say(id,message) 	for _,id2 in ipairs(admins) do 		if player(id,"usgn")==id2 then 			if string.sub(message,1,6)=="!lock " then 				lock[player(string.sub(message,7),"ip")]=true 				msg("player locked") 			elseif string.sub(message,1,8)=="!unlock " then 				lock[player(string.sub(message,9),"ip")]=nil 				msg("player unlocked") 			end 		return 1 		end 	end end function _team(id) 	if lock[player(id,"ip")]==true then 		msg("you are locked") 		return 1 	end end -- UNTESTET of course
admins={} lock={} addhook("say","_say") addhook("team","_team") function _say(id,message) 	for _,id2 in ipairs(admins) do 		if player(id,"usgn")==id2 then 			if string.sub(message,1,6)=="!lock " then 				lock[player(string.sub(message,7),"ip")]=true 				msg("player locked") 			elseif string.sub(message,1,8)=="!unlock " then 				lock[player(string.sub(message,9),"ip")]=nil 				msg("player unlocked") 			end 		return 1 		end 	end end function _team(id) 	if lock[player(id,"ip")]==true then 		msg("you are locked") 		return 1 	end end -- UNTESTET of course