I need to write a native that gets called when a client uses an upgrade refund credit.
Given the following RELIABLE information:
- SDKHook_EndTouch gets fired when a client leaves the upgrades station.
- The client is sent back to some random info_player_teamspawn entity on the map (RED's spawn)
- This happens in a matter of 1-2 frames so assume it is impossible for a client to manually walk from the upgrades station to an info_player_teamspawn within that very tiny interval.
Is there a way to make sourcemod detect that an upgrade refund credit is used with this information?