Replies: 1 comment
-
i have updated the code but during compilation, it shows multiple errors. void GetFavouriteAnimations(std::vector<std::tuple<std::string, std::string, std::string, std::string>>& result)
} bool IsAnimationAFavourite(const std::string animDict, const std::string& animName, const std::string& propName, const std::string& propBone, const std::string& propPlacement)
} void AddAnimationToFavourites(const std::string animDict, const std::string& animName, const std::string& propName, const std::string& propBone, const std::string& propPlacement)
ERRORS no instance of overloaded function "sub::AddanimOption_" matches the argument list |
Beta Was this translation helpful? Give feedback.
-
i tried to add animation with prop (emote) in FavouriteAnims.xml file but it didnt worked.
the code i used from emote menu.
can you add this feature where user can add custom animations with props and ca be applied to any peds using tasks option.
i really need this feture.
here is the code :
{
"type": "props",
"title": "Umbrella",
"subtitle": "/e umbrella",
"dances": {
"dict": "amb@world_human_drinking@coffee@male@base",
"anim": "base"
},
"props": {
"prop": "p_amb_brolly_01",
"propBone": 57005,
"propPlacement": [0.15, 0.005, 0.0, 87.0, -20.0, 180.0]
}
}, {
"type": "props",
"title": "Notepad",
"subtitle": "/e notepad",
"dances": {
"dict": "missheistdockssetup1clipboard@base",
"anim": "base"
},
"props": {
"prop": "prop_notepad_01",
"propBone": 18905,
"propPlacement": [0.1, 0.02, 0.05, 10.0, 0.0, 0.0],
"propTwo": "prop_pencil_01",
"propTwoBone": 58866,
"propTwoPlacement": [0.11, -0.02, 0.001, -120.0, 0.0, 0.0]
}
Beta Was this translation helpful? Give feedback.
All reactions