Jump to content

Prohibition of use


Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

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.