• Deathrun Weapons
    6 replies, posted
I know you need to download these and rename to the cs version (cs_awp for example) but I did this with a few weapon packs and weapons are still not spawning. Could someone give me a weapon pack that works for deathrun and tell me what I do with them so I don't cock it up.
What are you changing the names to?
[QUOTE=code_gs;51565845]What are you changing the names to?[/QUOTE] Don't worry, I re-went over the instructions and my own stupidity was mucking it up. I have had multiple players tell me that bhopping is making them go too fast or something, how would I fix that?
[QUOTE=Brendon;51566366]Don't worry, I re-went over the instructions and my own stupidity was mucking it up. I have had multiple players tell me that bhopping is making them go too fast or something, how would I fix that?[/QUOTE] Clamp their velocity in a move hook
[QUOTE=code_gs;51566471]Clamp their velocity in a move hook[/QUOTE] I did it like this in init.lua: [code] if ply:Team() == TEAM_RUNNER then ply:SetMaxSpeed(400) else ply:SetMaxSpeed(500) end [/code] Would this work?
SetMaxSpeed doesn't control max velocity. You'll have to check the player's velocity and clamp it down.
Some helpful links. [url]http://wiki.garrysmod.com/page/Entity/SetVelocity[/url] [url]http://wiki.garrysmod.com/page/Entity/GetVelocity[/url] [url]http://wiki.garrysmod.com/page/math/Clamp[/url]
Sorry, you need to Log In to post a reply to this thread.