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)
Enargy, Posted May 12, 2015 Posted May 12, 2015 You posted in the wrong section. viewforum.php?f=91 - Inactivo.
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
Walid Posted May 14, 2015 Posted May 14, 2015 You already asked the same question here Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
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