Help, I'm new to making my own script, and I know that I explain how optener Player position with getRoolElement .. and tried several things but nothing .. I might say? thanks
function CrearCoche
local x,y,z = getElementPosition( LocalPlayer )
Auto = createVehicle ( 411, x, y, z, 0, 0, 90, "BradFord" )
setVehicleColor (Auto, 255,0,0)
end
addEventHandler ("onResourceStart", getRootElement(), CrearCoche)