View Single Post
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 03-16-2021 , 06:44   Re: [TF2][REQ] Block Sticky Jumper & Rocket Jumper
Reply With Quote #10

Quote:
Originally Posted by ThatKidWhoGames View Post
Why are you looping all clients every map start? You can just do it once in OnPluginStart for handling late loading. Also, while looping clients you should start from 1 and go until it’s <= MaxClients. Further, SDKHooks automatically handles unhooking disconnecting clients, manually doing so is unnecessary. Also, I believe RemovePlayerItem does not actually kill the weapon entity, which could lead to issues.
I'm an idiot, i should quit.
__________________
Teamkiller324 is offline