Jump to content

Aim and walk


GiMax

Recommended Posts

My client version is 1.3.0-9.03898.0 just updated in 2012 March.

I have a problem with aim and walk in the same time.

When am holding pressed aim buttion and walk buttions, sometimes it wakes up to start walk for a short time.

After that it stop again. Where is the problem?

Thank you.

setPedStats are put into onPlayerSpawn server event.

Code look like this:

function xx()

--https://wiki.multitheftauto.com/wiki/SetPedStat

setPedStat(source, 69, 1000)

setPedStat(source, 70, 1000)

setPedStat(source, 71, 1000)

setPedStat(source, 72, 1000)

setPedStat(source, 73, 1000)

setPedStat(source, 74, 1000)

setPedStat(source, 75, 1000)

setPedStat(source, 76, 1000)

setPedStat(source, 77, 1000)

setPedStat(source, 78, 1000)

setPedStat(source, 79, 1000)

setPedStat(source, 80, 1000)

setPedStat(source, 81, 1000)

giveWeapon(source, 31, 50)

giveWeapon(source, 16, 4)

giveWeapon(source, 32, 100)

giveWeapon(source, 24, 50)

giveWeapon(source, 25, 20)

end

addEventHandler("onPlayerSpawn", getRootElement(), xx)

Link to comment
  • Moderators

ehm, strange bug. What is your local fps on the server?

Because I know this bug: when you put your fps higher than 70, you wont be able to shoot and walk at the same time.

Circa 45 is good.

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...