View Single Post
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 11-01-2016 , 22:45   Re: [REQ] Player speed 0 after teleport
Reply With Quote #5

Quote:
Originally Posted by Deathknife View Post
Try this, requires DHOOKS.
sm_reset_speed_on_tp 0/1 = off/on
That works wonderfully, thank you!

Edit: I realized "Teleport" is already defined in sdktools, can I just change:

Code:
	Handle temp = LoadGameConfigFile("sdktools.games");
and that'll correctly reference the gamedata given by sourcemod (eliminating the need to manually update every time the value is broken by a game update)? Just tested it and it seemed to be working fine.
__________________

Last edited by sneaK; 11-01-2016 at 23:17.
sneaK is offline