Drakath Posted January 31, 2015 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.
ALw7sH Posted January 31, 2015 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
Drakath Posted January 31, 2015 Author Posted January 31, 2015 You can't use setPedChoking on client peds.
Jaysds1 Posted January 31, 2015 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. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Jaysds1 Posted January 31, 2015 Posted January 31, 2015 Hmm, Well I thought it was a good idea. I guess there's no animation for it then. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Drakath Posted January 31, 2015 Author Posted January 31, 2015 Oh well. I hope setPedChoking will be added to client-side sometime.
Jaysds1 Posted February 1, 2015 Posted February 1, 2015 Oh well. I hope setPedChoking will be added to client-side sometime. Hopefully My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
John Smith Posted February 1, 2015 Posted February 1, 2015 ANIM>ped>gas_cwr setPedAnimation(ped,"ped","gas_cwr") :3 If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
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