KelogsLV Posted May 12, 2015 Posted May 12, 2015 Hello all! I need help, i made by myself Onduty script for MTA:dayz, and i need some help whit it When i write /aduty it shows me the arrow, but how can i get the TEXT at that Arrow arrowTable = {} addCommandHandler("aduty", function(player) local duty = getElementData(player, "duty") or 0 if duty == 0 then if not isElement(arrowTable[player]) then arrowTable[player] = createMarker(0, 0, 0, "arrow", 0.75, 255, 0, 0, 175) end attachElements(arrowTable[player], player, 0, 0, 2) else if isElement(arrowTable[player]) then destroyElement(arrowTable[player]) arrowTable[player] = nil end end end) addEventHandler("onPlayerQuit", root, function() if isElement(arrowTable[player]) then destroyElement(arrowTable[player]) arrowTable[player] = nil end end)
HUNGRY:3 Posted May 14, 2015 Posted May 14, 2015 oh yeah you made it? nice lie ... viewtopic.php?f=91&t=85996&hilit=arrow+in+head
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