Skip to content

Crash on drawing an outline on peds #1425

Description

@BerkieBb

So whenever you use SetEntityDrawOutline on a ped (player, spawned or npc doesn't matter) it crashes you.

This is the code I used to produce this crash, the ped spawns, then about 1-2 seconds after that it crashes me.

CreateThread(function()
    local model = `a_m_m_indian_01`
    RequestModel(model)
    while not HasModelLoaded(model) do
        Wait(10)
    end
    local newPed = CreatePed(0, model, GetEntityCoords(PlayerPedId()), GetEntityHeading(PlayerPedId()), false, false)
    FreezeEntityPosition(newPed, true)
    SetEntityDrawOutline(newPed, true)
end)

Here is the crash log I got if that is of any help, my server is on artifact 5503 and game build 2545
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions