Skip to content

Citizen.ClearTimeout does not work #3259

@VolCoM1337

Description

@VolCoM1337

What happened?

Hello,
Citizen.ClearTimeout does not appear to be functioning correctly.

Expected result

The timeout to be cleared

Reproduction steps

local handle = Citizen.SetTimeout(2000, function()
    print('Timed out !')
end)
print('SetTimeout', handle)
Citizen.Wait(1000)
print('ClearTimeout', handle)
local value = Citizen.ClearTimeout(handle)
print('Return value', value)

Importancy

Slight inconvenience

Area(s)

FiveM, FXServer

Specific version(s)

server latest 13594

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions