diff --git a/client/cocaine.lua b/client/cocaine.lua index 56d8eef..60b7d7b 100644 --- a/client/cocaine.lua +++ b/client/cocaine.lua @@ -100,7 +100,7 @@ end) RegisterNetEvent("md-drugs:client:makepowder") AddEventHandler("md-drugs:client:makepowder", function() - exports["rpemotes"]:EmoteCommandStart("uncuff", 0) + TriggerEvent('animations:client:EmoteCommandStart', {'uncuff'}) QBCore.Functions.Progressbar("drink_something", "chopping plants to powder", 4000, false, true, { disableMovement = false, disableCarMovement = false, @@ -174,4 +174,4 @@ CreateThread(function() }, distance = 2.5 }) -end) \ No newline at end of file +end)