MAFINS / MenyooSP

[or Menyoo PC] - Trainer/mod menu for Grand Theft Auto V (single-player).
https://www.gta5-mods.com/scripts/menyoo-pc-sp
GNU General Public License v3.0
777 stars 492 forks source link

add animation with prop #552

Open ankit761 opened 1 year ago

ankit761 commented 1 year ago

Discussed in https://github.com/MAFINS/MenyooSP/discussions/551

Originally posted by **ankit761** April 14, 2023 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] }
TayMcKenzieNZ commented 1 year ago

That is all FiveM coding. You have to attatch the props to your ped using spooner and disable the prop collisions.

Menyoos is a single player script.