Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 23/11/23 in all areas

  1. With the function Matrix is simpler. e.x: objs = {} function objE(player) if objs[player] then destroyElement(objs[player]) end local xb,yb,zb = getElementPosition(player) local rxb,ryb,rzb = getElementRotation(player) local matrixs = (Matrix.create(xb,yb,zb, rxb,ryb,rzb)) local forward = (Matrix.getForward(matrixs) * 2) local positions = (Matrix.getPosition(matrixs) + forward) objs[player] = createObject(625, positions) end addCommandHandler("ob",objE) Just out of curiosity, you want to do a decoration system?
    1 point
×
×
  • Create New...