You can. This object dont have physics and fall through ground. You can figure how to solve it yourself.

To create object use this (i freeze it to avoid falling through ground):


local object_model = “v_res_skateboard”
local function create_object()
   Citizen.CreateThread(function()
        RequestModel(object_model)
    	local iter_for_request = 1
    	while not HasModelLoaded(object_model) and iter_for_request < 5 do
    		Citizen.Wait(500)				
            iter_for_request = iter_for_request + 1
        end
    	if not HasModelLoaded(object_model) then
    		SetModelAsNoLongerNeeded(object_model)
    	else
            local ped = PlayerPedId()
            local x,y,z = table.unpack(GetEntityCoords(ped))
            local created_object = CreateObjectNoOffset(object_model, x, y, z, 1, 0, 1)
            PlaceObjectOnGroundProperly(created_object)
            FreezeEntityPosition(created_object,true)
            SetModelAsNoLongerNeeded(object_model)
         end
     end)
end
3 Likes