ZeyadGTX Posted June 12, 2014 Posted June 12, 2014 I have This Client Side script which allow me to change walking style but not working on Skin 10 , i tried skin 0 , 132 , 10 all of them not working why ? addEventHandler ( "onElementModelChange", root, function ( _, newModel ) if ( newModel == 132 ) then setPedWalkingStyle ( source, 10 ) else setPedWalkingStyle ( source, 0 ) end end )
MIKI785 Posted June 12, 2014 Posted June 12, 2014 I don't quite understand, but what you are doing there is that if the skin is 132 you change the walking style to 10 which does not exist according to wiki (setPedWalkingStyle). You set it to default one for all other skins.
-.Paradox.- Posted June 12, 2014 Posted June 12, 2014 Stop stealing codes from my topics which you don't even know how to use.
Moderators IIYAMA Posted June 13, 2014 Moderators Posted June 13, 2014 Are you color blind? Because wiki says the color is orange. While you turned in to red.
Max+ Posted June 13, 2014 Posted June 13, 2014 Well , You Cant check the player skin , if it's .. ( id ) then setPedWalkingStyle , ,
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