API: Open outfits

How to open wardrobe / outfits menu

All API calls works only if rcore_clothes are already started.

This code is for client-side of your script, you can call it from command or with event.

CreateThread(function()
    TriggerEvent("rcore_clothes:openOutfits")
end)

Example with command

Creating test command that will open wardrobe.

RegisterCommand('test', function(src, args, raw)
    TriggerEvent("rcore_clothes:openOutfits")
end)

Last updated