Jump to content

Modo de caminar


josedisla

Recommended Posts

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 by Shady1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...