[RELEASE][PAID] Pickup Bike Script

Yessss

Can you help me with adding that? thanks

slightly confused,
what do i add to the client side? new here

If you download the bt-target version you will have to add the contents of the README to the bt-target client.lua

zing hahahaha hahahahahaha never thought about opening up the readme… ill find my exit now

This is not an issue but its good if you can fix it, the player must sit first in order to pickup a bike, if i pickup the bike, leave it down and others try to pick it up, it will not work, they must sit first and then try again.

Hey, maybe you could help me, I don’t know exactly where to get this

Nice release i really like it.
you should add the bt-target code directly at the bottom of the client file, that way people wont have to go in bt-target to add it.
Like this:

Citizen.CreateThread(function()
    local bike = {
        `bmx`,
        `cruiser`,
        `scorcher`,
        `fixter`,
        `tribike`,
        `tribike2`,
        `tribike3`,
    }
    exports['bt-target']:AddTargetModel(bike, {
        options = {
            {
                event = "pickup:bike",
                icon = "fas fa-bicycle",
                label = "Pickup Bike",
            },
        },
        job = {"all"},
        distance = 2.5
    })
end)

the version for all bikes you still have to put all the haskeys for the bicycle

Thanks for letting me know I’ve fixed it.

and how to put the bike on the ground?

where do I have to do that in bt-target, i.e. client → main.lua is clear but which line? I ask for help

@clientmodsfnayt
You put it in a “Citizen.CreateThread”

Citizen.CreateThread(function()
--PUT IT IN HERE
end)

okey Thanks

I have now put it in but somehow it no longer charges
Screenshot_2

@clientmodsfnayt

Citizen.CreateThread(function()

    local bike = {
        `bmx`,
        `bmx2`,
        `bmxp2`,
        `unicycle`,
        `bimx`,
    }
    AddTargetModel(bike, {
        options = {
            {
                event = "pickup:bike",
                icon = "fas fa-bicycle",
                label = "Pickup Bike",
            },
        },
        job = {"all"},
        distance = 2.5
    })

end)

Does it look like this and can you show the whole error.

@Vulcan770 I have just installed it with the thread that you provided the script with but all i get is this do you know the fix

unfortunately there is no I’ve packed the script in the resources folder and he doesn’t find it,

Did you put the thread in bt-target + you need to be closer to the bike.

yes i put the tread but still nothing