Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 08:27:00 PM
Home Help Login Register
News: Zombie Master 2 discussion

  Show Posts
Pages: [1]
1  Other / Trouble in Terrorist Town / Re: Changing Player's Run Speed in TTT on: July 14, 2011, 08:13:00 AM
Cool, thanks for the reply.  Got everything the way I wanted it working.
2  Other / Trouble in Terrorist Town / Changing Player's Run Speed in TTT on: July 13, 2011, 12:44:00 AM
If I wanted to allow an addon to change a player's run speed how would I go about doing this?  From what I can tell I would want to change (in terrortown/gamemode)

   -- Change some gmod defaults
  ply:SetCanZoom(false)
  ply:SetJumpPower(160)
  ply:SetSpeed(false)
  ply:SetCrouchedWalkSpeed(0.3)


but I also don't know much about lua, and can't tell if TTT has locked the player speed somewhere else.  Also would I want to do ply:SetRunSpeed or ply:SetWalkSpeed in my addon?

Thanks in advance for any help you guys can give.
Pages: [1]


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.012 seconds with 19 queries.