[HELP] Creating objects

Hello,
I have no idea how to spawn object always front of character. I hope that somebody can help me :smiley:

You can try

local spawnCoords = GetOffsetFromEntityInWorldCoords(PlayerPedId(), 0.0, 5.0, 0.0)

spawncoords will be 5.0 away from player in front of it
See https://runtime.fivem.net/doc/natives/#_0x1899F328B0E12848

yes, thank you very much