Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2024, 04:02:47 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

  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.009 seconds with 19 queries.