tabla[#tabla + 1] = createObject(905,565,880,-38.55)
tabla[#tabla + 1] = createObject(905,565,880,-38.55)-- hozzáadásmoveObject(tabla[1], posX, posY, posZ) --1. object mozgatása
marker = createMarker(0,0,0)tabla = {}function pelda(player)tabla[player] = createObject(905,565,880,-38.55)endaddEventHandler(\"onMarkerHit\", marker, pelda)function leave(player)destroyElement(tabla[player])endaddEventHandler(\"onMarkerLeave\", marker, leave)
triggerServerEvent(\"cd\", localPlayer,false)
triggerServerEvent(\"cb\", localPlayer,localPlayer)
addEvent(\"cb\", true)addEventHandler(\"cb\", root,function(player)tabla = {}tabla[player] = createObject(905,565,880,-38.55)moveObject(tabla[player],20000,592,878,-40)end) addEvent(\"cd\", true)addEventHandler(\"cd\", getRootElement(),function (player) destroyElement(tabla[player])end)