Drakath Posted January 31, 2015 Share Posted January 31, 2015 I need to make some client peds choke but setPedChoking is server-side. Is there an animation for this? If yes, please tell the name. Link to comment
ALw7sH Posted January 31, 2015 Share Posted January 31, 2015 myped = createPed(0,10,10,10) triggerServerEvent("Chocking",localPlayer,myped) --- addEvent("Chocking",true) addEventHandler("Chocking",root, function(ped) setPedChoking(ped,true) end ) Idont know if this gonna works but you can try it Link to comment
Drakath Posted January 31, 2015 Author Share Posted January 31, 2015 You can't use setPedChoking on client peds. Link to comment
Jaysds1 Posted January 31, 2015 Share Posted January 31, 2015 I know there's an animation for it but I can't seem to find it. Try using the setPedChoking on yourself and then use getPedAnimation to get the animation data. Link to comment
Drakath Posted January 31, 2015 Author Share Posted January 31, 2015 It returns false when choking. Link to comment
Jaysds1 Posted January 31, 2015 Share Posted January 31, 2015 Hmm, Well I thought it was a good idea. I guess there's no animation for it then. Link to comment
Drakath Posted January 31, 2015 Author Share Posted January 31, 2015 Oh well. I hope setPedChoking will be added to client-side sometime. Link to comment
Jaysds1 Posted February 1, 2015 Share Posted February 1, 2015 Oh well. I hope setPedChoking will be added to client-side sometime. Hopefully Link to comment
John Smith Posted February 1, 2015 Share Posted February 1, 2015 ANIM>ped>gas_cwr setPedAnimation(ped,"ped","gas_cwr") :3 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now