Hallo Community , ich habe schonmal so einen Thread gepostet nur ich verstehe es im Moment nicht . Ich habe ein Beispiel unten gepostet und ich hoffe ihr könnt mir nochmal helfen : ( .
Beispiel :
Lua
local markerst = { <---- Table mit Koordinaten
[1] = { 1, 1, 1},
[2] = { 2, 2, 2},
[3] = { 3, 3, 3},
}
function idontgethowtodothis ( )
local x, y, z = Ich möchte die Koordinate von oben
testarker = createMarker( x, y, z , . . . . )
addEventHandler("onMarkerHit", testarker, destroy)
end
function destroy()
destroyElement( testarker )
end
-- das ist nur ein Beispiel könnt ihr mir helfen :(
Alles anzeigen