xFabel

problem no event in nextmap

Recommended Posts

what troube here why no event triggerEvent connect to nextmap?

function updatePosition (mapinfo)
	g_MapInfo = mapinfo
	if g_MapInfo.nextmap then
		setNextmap(g_MapInfo.nextmap)
		triggerEvent("radar:setOffset", localPlayer, nextDisplay.posY*0.2)
	end
end

i wanna set triggerEvent connect when i set nextmap it didn't work

Edited by xFabel

Share this post


Link to post
1 hour ago, komal said:

full code plz

i fixed

Share this post


Link to post

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

  • Recently Browsing   0 members

    No registered users viewing this page.