StartScriptFire at players coords


How do you create fire at the players location?
The native I’m trying to use is “StartScriptFire” but i need coords. Is it possible to just start the fire at the players coords?


GetEntityCoords will help. Just pass in the player ped


So how will the final native look like?
StartScriptFire(?, 25, false)
What Will ‘?’ be?
Because ‘?’ shound be coords and i want that to be the local players coords.


local x,y,z = table.unpack(GetEntityCoords(%something to player ped%, true))

THis would get you x,y,z coords that you can then use on start fire.