Jump to content

Sneak


UnKnownGuy

Recommended Posts

Posted

Hello Guys I Got This script from someone and i wanna edit it cuz its not working but idk why its not working so can u help me the script:

Lua:

-- use /sneak to chnage your walking style
function changeWalkStyle(player)
    setPedWalkingStyle(player,69)
end
addCommandHandler("sneak",changeWalkStyle)

XML:

<meta>
<script> src="sneak.lua" type="meta"/>
</meta>

Posted

Change the script type to client instead of meta.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Posted

Why clientside instead of serverside, You don't want the others to see what walking style you have?

  • Like 1
Nothing is impossible when you acquire the knowledge
 
Posted
10 minutes ago, Syntrax# said:

Why clientside instead of serverside, You don't want the others to see what walking style you have?

That's a good point, yeah set it to server instead :D

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

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