StartScriptFire at players coords


#1

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?


#2

GetEntityCoords will help. Just pass in the player ped


#3

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.


#4

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.