Jump to content
×
×
  • Create New...
  • 0

Prohibition of use


ProfStof

Question

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
quest maps_items begin
	state start begin
		when login begin
			loop_timer("check_pos", 60)	--	check every 60 seconds, you can change check timer
		end
		when check_pos.timer begin
			local Items = {479, 71018, 18, 279, 289}	--	Items, you can add any items
			local Maps = {1, 21, 41}	--	map_index, you can add any map
			for i=1, table.getn(Items, Maps), 1 do
				if pc.count_item(Items[i]) >= 1 and pc.get_map_index(Maps[i]) then
					syschat("WARNING: You Can't Login This Map With This Item"..item_name(Items[i]))	--	message
					warp_to_village()
				end
			end
		end
	end
end

I made it for you :)

Link to comment
Share on other sites

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


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.