SetWalk and Run speed

Trying to use two functions,

ply:SetWalkSpeed()
ply:SetRunSpeed()

neither work

However when I try it in console it works.

Not my fault either, I’ve done everything. I even switched SetWalkSpeed with SetHealth, and the value changed.

GAMEMODE:SetPlayerSpeed( pl, walkspeed, runspeed );

Tried that also, didn’t work.

Are you running this client side or server side?

You are setting the value too high.

[lua]
for k,v in pairs(player.GetAll()) do
v:SetWalkSpeed(100)
v:SetRunSpeed(1000)
end
[/lua]

I love when this guy rates me dumb and asks retarded shit like this.

c-unit you know absolutely nothing about lua, you spend all your time specifically on this section so you can act cool when you answer questions where people miss a bracket. Why you even bother coming back to post when everybody continuously rates you dumb for you retarded posts is far beyond me.

To answer the slightly more decent response above, no - I wasn’t setting the value too high at all and how you came to that conclusion is rather strange given that you haven’t been given any hint of what I was trying.

I remember why I stopped asking in this section a while ago, and it was mainly because uneducated 10’ers keep posting here with some of the most unhelpful posts imaginable.

/rage

[editline]12th January 2011[/editline]

also are you checking your server logs for errors, calling the methods, defining ply, and what not.

[editline]12th January 2011[/editline]

also are you checking your server logs for errors, calling the methods, defining ply, and what not.

Where are you calling these 2 functions?