[Release][Free] Tinus Flatbed

Fix the template still doesn’t fit

Hello huys!

Do I am the only one ? When I try to make spawm the flatbed ‘/car flatbed3’ I have this thing instead

1 Like

Fix for Legacy : Fixed the spawn of vehicle with "Utility" class by KadDarem · Pull Request #1173 · esx-framework/esx_core · GitHub

1 Like

Need help bed sometimes disappear still and glitches out

Were you ever able to fix this issue?

I got the same one

Update. I was able to solve the issue with the error message me and @SuperArmySoldiers had.

in the line IsNext, CurrentVehicle = FindNextVehicle() i simply had to put CurrentHandle into the brackets.

IsNext, CurrentVehicle = FindNextVehicle(CurrentHandle)

Now it works like a charm

Hi, how can I add another model for use? If I use a new line of code, the flatbed prop respawns.

Config.Flatbeds = {
    {
        Hash = "flatbed3",
        Extras = {
            [1] = false
        },
        Marker = vector3(-1.85, 0.4, -1.2),
        Attach = vector2(0.0, 1.0),
        Radius = 3.0,
        Default = {
            Pos = vector3(0.0, -3.8, 0.35),
            Rot = vector3(0.0, 0.0, 0.0)
        },
        Active = {
            Pos = vector3(0.0, -8.20, -0.75),
            Rot = vector3(16.0, 0.0, 0.0)
        }
    },
    {
        Hash = "337flatbed", -- Replace with the hash of your new flatbed model
        Extras = {
            [1] = false
        },
        Marker = vector3(-1.85, 0.4, -1.2),
        Attach = vector2(0.0, 1.0),
        Radius = 3.0,
        Default = {
            Pos = vector3(0.0, -3.8, 0.35),
            Rot = vector3(0.0, 0.0, 0.0)
        },
        Active = {
            Pos = vector3(0.0, -8.20, -0.75),
            Rot = vector3(16.0, 0.0, 0.0)
        }
    }
}

This is the problem, if I replace only the hash, it works normally.

It ‘double spawns’ because there is already a bed on your vehicle. Remove it or disable it if it is an extra. The dark colored bed is the prop required.

Hello when I spawn the flatbed 3 this vehicle appears

1 Like

A way to fix it : open es_extended/client/functions.lua and comment the line

[11] = “trailer”,

2 Likes

that just mean the ytd file is little big it’s just the textures for the tow truck nothing worry about it will do that with more cars once you start adding them to the server. some
cars won’t do it

Can you make this work without the addon bed and use the bed that comes on a tow truck? Im trying to use the ones that are on lcpdfr https://www.lcpdfr.com/downloads/gta5mods/vehiclemodels/40034-non-els-tow-services-pack-flatbed-and-wrecker/

is it ok if i use it for my mechanic ?

In my esx this [11]=trailer and the gas trailer still appears

ya solucione, solo quite el 11 del extended y me funciono el flatbed3

i have a question, will this script work on any flatbed? since i have a few custom flatbeds i really wanna use them but i havent found any script that does work, the flatbeds i am talking about do have a moveable flatbed, not sure if that would be an issue or not but i thought i figured had to mention it anyway

Any chance of adding a winch function for broken cars?

1 Like


How to fix this problem ?

thread on server side every 100ms will make your server crash