View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-10-2022 , 11:29   Re: [CSGO] How to drop hostage as CT?
Reply With Quote #3

Sorry second post.

I got void CHostage::DropHostage( Vector vecPosition, bool bIsRescued ) work with signature.
- Fix was to get memory address with signature, using gamedata file.
- I have only tested on Windows. Linux signature is included tough.

I also added DHooks detour, if someone want follow when DropHostage() happens.

Again, command is sm_test2
- Small tracehull check added, can you drop in front of you. Not perfect.
- Hostage would not appear after drop if hostage stuck inside something solid.
Attached Files
File Type: sp Get Plugin or Get Source (test.sp - 50 views - 3.5 KB)
File Type: txt test.games.txt (835 Bytes, 35 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 12-10-2022 at 11:30.
Bacardi is offline