Comments (13)
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.
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.
You can do it yourself, check examples for eat/drink in basic_items.lua.
from vrp.
Interesting, I will look into this later to build a particle API, if possible.
from vrp.
-- 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.
I have a problem it does not work
from vrp.
Hmm, the problem is the set ped movement, You can create a api for this native ^^ ?
from vrp.
Do you know the default clipset ? Or a way to remove it ?
from vrp.
I have found this: http://gtaforums.com/topic/821273-set-ped-movement-clipset/
But i dont know what is the default clipset :(
from vrp.
and the native is RESET_PED_MOVEMENT_CLIPSET
from vrp.
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.
Ok ;)
from vrp.
U add this in the next Update, if yes then i close the thread :p
from vrp.
Related Issues (20)
- module\edible.lua HOT 3
- Vehicle Storage Dupe HOT 2
- keep respawning as a random ped at a random location
- Rework DB driver API.
- Suggestion: introduce Contribution Guidlines HOT 1
- Help me HOT 1
- vRP connection with js script HOT 1
- Issues initializing db driver with Zap Hosting HOT 1
- Help in understanding vRP 2.0 HOT 2
- How to use AudioWorkletNode instead of ProcessorNode script?
- Problem with db connection and identification error when entering fivem HOT 1
- Client fails to load code HOT 4
- Restarting scripts
- Players Constantly timeout. HOT 1
- Respawn not working
- Migration Question. HOT 1
- [script:vrp] error: proxy call vRP:registerDBDriver not found
- SQL syntax Error HOT 5
- vulnerability Item
- Vrp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vrp.