Qtarget to oxtarget

Is anyone able to help me convert qtarget for oxtarget?

CreateThread(function()
	local peed = {
		'ig_devin',
	}
	exports.qtarget:AddTargetModel(peed, {
		options = {
			{
				event = "bierzpile",
				icon = "fa-solid fa-basketball",
				label = "Wypożycz Piłkę",
			},
		},
		distance = 5,
	})

	Citizen.Wait(5000)
  end)

An example is available in the resource itself.

Otherwise see the docs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.