• SetRunSpeed not working?
    1 replies, posted
Hello, I'm trying to check a NWInt to check whether it is "1" or not, and if it is then I'm trying to increase the run speed, but for some reason it doesn't seem to work when in PlayerSpawn: I don't believe I'm doing it wrong as when I replace with ply:Kill() that works, but this doesn't: [CODE]hook.Add( "PlayerSpawn", "CheckingStats", function( ply ) if ply:GetNWInt( "PlayerRun" ) == 1 then ply:SetRunSpeed( 1000 ) end end)[/CODE]
Something else is probably also resetting the run speed. To prevent conflicts, you should probably just use a [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/Move]GM:Move[/url] hook with a SetMaxSpeed/SetMaxClientSpeed multiplier
Sorry, you need to Log In to post a reply to this thread.