Captain Cody Posted September 19, 2014 Posted September 19, 2014 I while ago I made a marker that made the script hedit pop up on the screen that used exports, but I updated hedit to latest version and now it wont show up, Is there any way to make it so it triggers command? marker = createMarker( -1179, -1087.21875, 128, "cylinder", 2 ) addEventHandler('onClientMarkerHit', marker, function( hitElement) if hitElement == localPlayer or hitElement == getPedOccupiedVehicle ( localPlayer ) then exports.handlingeditor:toggleEditor() end end) Btw, I have a custom command and I dont want any one using hedit with out going to garage
Castillo Posted September 19, 2014 Posted September 19, 2014 Is the function "toggleEditor" exported from the handling editor?
Callum Posted September 19, 2014 Posted September 19, 2014 What is the exact message you get when using debugscript?
Captain Cody Posted September 19, 2014 Author Posted September 19, 2014 something about handlingedits/shared/wrappers/general 16' failed to export none running client resource but I cant find any thing about exports in general
Captain Cody Posted September 19, 2014 Author Posted September 19, 2014 ok I found out that handlingeditor wasnt exported I exported it and it worked for I bit so I created another script for another garage "same thing just differnt location and now in debut script it says failed to call "handlingeditor"
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