josedisla Posted January 7, 2023 Share Posted January 7, 2023 I would like to know how to change the way of walking that mta has by default for a different one, that is, that they always have that way of walking. Link to comment
Spakye Posted January 7, 2023 Share Posted January 7, 2023 Hello you can use setPedWalkingStyle Link to comment
Shady1 Posted January 7, 2023 Share Posted January 7, 2023 (edited) 1 hour ago, josedisla said: I would like to know how to change the way of walking that mta has by default for a different one, that is, that they always have that way of walking. hello @josedisla , I have created a code according to your request, you can try local PLAYER_WALKSTYLE = 122 --add a walking style you want addEventHandler("onPlayerSpawn", root, function() setPedWalkingStyle(source, PLAYER_WALKSTYLE) end ) and use meta.xml <meta> <info type="script"/> <min_mta_version server="1.5" client="1.5" /> <script src="skills.lua" type="server"/> </meta> Edited January 7, 2023 by Shady1 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