View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 02-05-2022 , 21:58   Re: [TF2] Blocking load_itempreset / forcing tf_respawn_on_loadoutchanges 0 on client
Reply With Quote #3

The server's CTFPlayer::CheckInstantLoadoutRespawn is responsible for respawning on loadout changes; you can supercede it with a detour.

(The loadout change notification is sent from client → game coordinator → server, so the usual client-server tactics don't apply here.)
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 02-06-2022 at 06:56.
nosoop is offline