Coder Social home page Coder Social logo

andristum / dpemotes Goto Github PK

View Code? Open in Web Editor NEW
116.0 12.0 313.0 11.18 MB

Emotes / Animations for fiveM with Prop support.

Home Page: https://forum.fivem.net/t/dpemotes-356-emotes-usable-while-walking-props-and-more/843105

License: GNU General Public License v3.0

Lua 100.00%

dpemotes's Introduction

dpemotes's People

Contributors

alberttheprince avatar andristum avatar yagizher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dpemotes's Issues

traditional Chinese

['tw'] = { -- traditional Chinese ᴛᴡ
    ['emotes'] = '表情與動作 🎬',
    ['danceemotes'] = "🕺 舞蹈表情",
    ['animalemotes'] = "🐩 動物表情",
    ['propemotes'] = "📦 物品動作",
    ['favoriteemotes'] = "🌟 我的最愛",
    ['favoriteinfo'] = "在此處選擇一個表情以將其設置為你的最愛",
    ['rfavorite'] = "重置我的最愛",
    ['prop2info'] = "❓ 道具表情可以放在最後",
    ['set'] = "把 (",
    ['setboundemote'] = ") 設置為綁定表情?",
    ['newsetemote'] = "~w~ 現在是你的綁定表情, 按 ~g~CapsLock~w~ 可以使用它.",
    ['cancelemote'] = "取消動作 🚷",
    ['cancelemoteinfo'] = "~r~X~w~ 取消當前動作",
    ['walkingstyles'] = "走路風格 🚶🏻‍♂️",
    ['resetdef'] = "重置為默認值",
    ['normalreset'] = "正常",
    ['moods'] = "心情 😒",
    ['infoupdate'] = "信息 🙏🏻",
    ['infoupdateav'] = "當前有可用更新",
    ['infoupdateavtext'] = "有可用的更新,從此處獲取 ~y~https://github.com/TayMcKenzieNZ/dpemotes~w~",
    ['suggestions'] = "建議?",
    ['suggestionsinfo'] = "~r~TayMcKenzieNZ~s~ 在 FiveM 論壇上獲取其他功能/表情建議!! ✉️",
    ['notvaliddance'] = "不是有效的舞蹈動作.",
    ['notvalidemote'] = "不是有效的表情.",
    ['nocancel'] = "沒有可取消的表情.",
    ['maleonly'] = "沒有歧視但此動作僅限男性,抱歉!",
    ['emotemenucmd'] = "使用指令 /emotemenu 打開表情與動作選單.",
    ['shareemotes'] = "👫 雙人動作",
    ['shareemotesinfo'] = "邀請附近的人一起使用表情",
    ['sharedanceemotes'] = "🕺 雙人舞蹈",
    ['notvalidsharedemote'] = "不是有效的雙人表情.",
    ['sentrequestto'] = "向 ~y~發送請求",
    ['nobodyclose'] = "附近 ~r~沒有人~w~ ",
    ['doyouwanna'] = "按~y~Y~w~ 接受, ~r~L~w~ 拒绝 (~g~",
    ['refuseemote'] = "對方拒絕了.",
    ['makenearby'] = "與附近的玩家做動作",
    ['useleafblower'] = "按 ~y~G~w~ 使用落葉吹風機.",
    ['camera'] = "按 ~y~G~w~ 使用照相機閃光燈.",
    ['makeitrain'] = "按 ~y~G~w~ 丟錢.",
    ['pee'] = "長按 ~y~G~w~ 尿尿.",
    ['spraychamp'] = "長按 ~y~G~w~ 噴香檳",
    ['stun'] = "按 ~y~G~w~ 來'使用'電擊槍",
    ['bound'] = "綁定 ",
    ['to'] = "去",
    ['currentlyboundemotes'] = " 當前綁定的表情:",
    ['notvalidkey'] = "不是有效的鍵.",
    ['keybinds'] = "🔢 綁定按鍵",
    ['keybindsinfo'] = "使用"
},

Updating QBCore and oxmysql to latest

So oxmysql has released a new version that QBCore will be using now on. The instructions was kinda simple, remove old folder oxmysql, install new folder, start up server and most works for me.

What I´ve noticed is that dpemotes giving errors, it does work though, I can use the menu, I can do the emotes, but logs getting spammed.

Server log:
image

Player console:
image

Heidisql

Dpemotes 190ms select from dpkeybinds where id?

Unable to stop Walk styles with normal walk/reset command

Trying to stop walking with the /walk reset or /emotemenu command that says "Restet walking style" is not working.
Anyone on my server who has chosen any walking style, is unable, for any long period of time, to go back to permanently walking normally.
In other words, people are getting stuck walking in storage fashions, because their character eventually goes back to walking in the emote style.
There is no /walk normal command that works.

Request: addition of license

Requesting the addition of an open-source license for this repo so that it's in line with the open-source nature of FiveM/modding.

Walking styles

Walking styles are not working, i can see the menu but when i select walk style nothing happens.

Prevent menu from being opened while in vehicle.

Is there A way to prevent players from opening the emotes menu while in a vehicle.

If someone is handcuffed by police, they can't open the menu. But if the menu is open before they are cuffed they can cancel emotes and it cancels the handcuffs and players are opening the menu while in a vehicle first so they can un cuff themselves.

/walk and injured walk broke.

When doing /walk it just gives a error in F8 and when injured and doing the injured walk getting healed by ems or hospital does not stop the injured walk.

Translate

Is it possible to make a translation dictionary and keep it running after updating the esx? or everything would be replaced. Thank you

Floating Animation

Some users are experiencing a 'floating' animation when they use /e sitchair on chairs/sofas etc.

Please see example here: https://streamable.com/6nan2i

Does anybody know how I can isolate and troubleshoot this? No errors thrown in client or server console.

Prop Emotes wont sync with multiplayer

I have been having a consistent issue where a player uses a prop emote near me and i cannot see the object in his hand. Idk if citizen broke something but I thought i should bring it up

PROPS

when i do beer or any prop it dont work it just in the hand how do i fix this ?

BUG

Hello, the keybinding doesn't work for me, when i want to put a keybind, i don't have the emote name in the sql

Shared Emotes

Hey man,

Unfortunately I don't understand how shared emotes are done as the offset thing is confusing; I don't know how to make the player face a certain way, or how to place the player next to, behind, or in front of another player.

It's been bugging me for months, could you please give us some insight?

Xbox One Controller: Remove Bindings

I used the dpEmotes package to change my emote bindings, so that the character dances with numpad 4, 5, 6, 7, 8 and 9 keys (or does some other emote). There is no way of removing those key bindings and now I can not play with my Xbox One controller, because when I try to move with the left stick, the character dances. I can not use the keyboard as it is too difficult to control the character that way.

Out of curiosity, I tried to reset / remove the emote bindings with commands like these:

// maybe I could use an "empty" value

emotebind num4 null
emotebind num5 null
emotebind num6 null
...

emotebind num4 nil
emotebind num5 nil
emotebind num6 nil
...

emotebind num4 false
emotebind num5 false
emotebind num6 false
...

emotebind num4 ""
emotebind num5 ""
emotebind num6 ""
...

emotebind num4 0
emotebind num5 0
emotebind num6 0
...

emotebind num4
emotebind num5
emotebind num6
...

// maybe there is a way to reset or cancel the binding

emotebind num4 reset
emotebind num5 reset
emotebind num6 reset
...

emotebind num4 resetdef
emotebind num5 resetdef
emotebind num6 resetdef
...

emotebind num4 cancelemote
emotebind num5 cancelemote
emotebind num6 cancelemote
...

// maybe there is a default value

emotebind num4 emote1
emotebind num5 emote2
emotebind num6 emote3
emotebind num7 emote4
emotebind num8 emote5
emotebind num9 emote6
...

// maybe there is an emote that will not animate for some reason
// karate emote kind of allows me to walk, but only in one direction

emotebind num4 clown3
emotebind num5 clown3
emotebind num6 clown3
...

emotebind num4 sit
emotebind num5 sit
emotebind num6 sit
...

emotebind num4 notepad
emotebind num5 notepad
emotebind num6 notepad
...

emotebind num4 karate
emotebind num5 karate
emotebind num6 karate
...

// maybe I can use a "running" (walk style) emote

emotebind num4 quick
emotebind num5 quick
emotebind num6 quick
...

// I tried the bind command, but I guess it's for the server owners only

bind NUMPAD 4 "NUMPAD 4"
bind NUMPAD 4 "LLEFT"
bind NUMPAD4 "LLEFT"
bind "NUMPAD4" "LLEFT"

use dpemotes in other resources

Hi, I was trying to add dpemotes to a radial menu, it work like this:

['clothes'] = {
title = "Clothes",
icon = "#tshirt",
functionName = "dpc:ToggleMenu"
},

I tried with dpemothes and it works but wit this doesn't work

I also tried to create a file and I tried to add

RegisterNetEvent("dpc:openClothingMenu")
AddEventHandler("dpc:openClothingMenu", function()
TriggerEvent("dpc:ToggleMenu")
end)

but still don't working

can someone help me?

/e sit isn't working

All other /e sit are working like /e sit2 /e sit3 etc. But the /e sit isn't working

Fix for widescreen monitors from 21: 9 and higher

Hi I have a widescreen monitor with the format 32: 9. Unfortunately, the menu is then not displayed.
The following code change solves the problem. my resolution is 5620x1440. I also tested other widescreen resolutions.
It would be great if you could take over this bugfix.
All previous formats will continue to be supported.
In NativeUI.lua
Download Widescreen fixed NativeUI.zip
change this from:

function FormatXWYH(Value, Value2)
return Value/1920, Value2/1080
end

to this:

function FormatXWYH(Value, Value2)
    local W, H = GetActiveScreenResolution()
    if (W/H) < 2.3 then
        return Value/1920, Value2/1080
    else
        return Value/2560, Value2/H
    end
end

Regards

Small Help I Need !

is there any way to trigger Particular Emote from DP EMotes for esx_basicneeds !!!
like when we register any usable item after that we can add a animation on this item while using !!

is that possible use DP EMOTES when we use Any Item from inventory ??
If yes please explain how !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.