Jump to content

[BLOCKHORSE] Help


Recommended Posts

quest block_horse begin
	state start begin
		when 50051.use or 50052.use or 50053.use with pc.get_map_index() == 26 or pc.get_map_index() == 114 or pc.get_map_index() == 121 or pc.get_map_index() == 125 or pc.get_map_index() == 110 or pc.get_map_index() == 111 begin
			syschat("Sorry, can't call the horse in this map")
		end
		
		when login with pc.get_map_index() == 26 or pc.get_map_index() == 114 or pc.get_map_index() == 121 or pc.get_map_index() == 125 or pc.get_map_index() == 110 or pc.get_map_index() == 111 begin
			if pc.is_mount() then
				pc.unmount()
				horse.unsummon()
				syschat("Sorry, can't have the horse or another mount in this map")
			else
				horse.unsummon()
				syschat("Sorry, can't have the horse or another mount in this map")
			end
		end
	end
end

 

  • Love 2
Link to comment
Share on other sites

I have problem in quest,

the work of quest and everything is working properly in the Ox event map not working the horse, the map of my kingdom can not I call the horse (ie when you start a quest bed old) what can I do;

Sorry for my English

Here is quest

quest block_horse begin

state start begin

when 50051.use or 50052.use or 50053.use with pc.get_map_index() == 113 begin

syschat("Sorry, can't call the horse in this map!")

end

when login with pc.get_map_index() == 113 begin

if pc.is_mount() then

pc.unmount()

horse.unsummon()

syschat("Sorry, can't have the horse or another mount in this map!")

else

horse.unsummon()

syschat("Sorry, can't have the horse or another mount in this map!")

end

end

end

end

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.