Coder Social home page Coder Social logo

Comments (13)

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

Animation I have found this:

 if (!Function.Call<bool>(Hash.HAS_ANIM_SET_LOADED, "move_m@drunk@verydrunk"))
   {
       Function.Call(Hash.REQUEST_ANIM_SET, "move_m@drunk@verydrunk");
   }
       Function.Call(Hash.SET_PED_MOVEMENT_CLIPSET, ped.Handle, "move_m@drunk@verydrunk", 0x3E800000);

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

Effect: And for the effect i think it is in Ambiant or Smoke at this link: https://www.gtamodding.com/wiki/List_of_particle_effects

from vrp.

T3rg0s avatar T3rg0s commented on August 20, 2024

You can do it yourself, check examples for eat/drink in basic_items.lua.

from vrp.

ImagicTheCat avatar ImagicTheCat commented on August 20, 2024

Interesting, I will look into this later to build a particle API, if possible.

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024
-- Anim Drunk
local function play_drunk(player)
  local seq = {
    {"move_m@drunk@verydrunk","intro_bottle",1},
    {"move_m@drunk@verydrunk","loop_bottle",1},
    {"move_m@drunk@verydrunk","outro_bottle",1}
  }

  vRPclient.playAnim(player,{true,seq,false})
  SET_PED_MOVEMENT_CLIPSET, ped.Handle, "move_m@drunk@verydrunk", 0x3E800000
 end

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

I have a problem it does not work

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

Hmm, the problem is the set ped movement, You can create a api for this native ^^ ?

from vrp.

ImagicTheCat avatar ImagicTheCat commented on August 20, 2024

Do you know the default clipset ? Or a way to remove it ?

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

I have found this: http://gtaforums.com/topic/821273-set-ped-movement-clipset/

But i dont know what is the default clipset :(

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

and the native is RESET_PED_MOVEMENT_CLIPSET

from vrp.

ImagicTheCat avatar ImagicTheCat commented on August 20, 2024

I think some of the move_m@ and move_f@ here could work http://docs.ragepluginhook.net/html/62951c37-a440-478c-b389-c471230ddfc5.htm , I will add a function.

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

Ok ;)

from vrp.

ZirconiumUE avatar ZirconiumUE commented on August 20, 2024

U add this in the next Update, if yes then i close the thread :p

from vrp.

Related Issues (20)

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.