Updated based on testing by zmd94

https://forums.alliedmods.net/showthread.php?p=2164335#post2164335