Rat32 Posted April 7, 2015 Share Posted April 7, 2015 Why it doesn't work? function infomech(hitElement, matchingDimension) if source == hitElement then triggerClientEvent(hitElement, "mechinfo", resourceRoot) outputChatBox("NO!") end end addEventHandler("onMarkerHit", mechpraca, infomech) Link to comment
WhoAmI Posted April 7, 2015 Share Posted April 7, 2015 Source of onMarkerHit event is marker and hitElement is an element which has entered the marker. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now