Solved Detecting if prop went through wall.

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

traderain

Newbie
Dank Tier Donator
Full Member
Feb 19, 2016
40
583
1
I would like to detect if the prop the player is holding went through the wall. My initial tought is either hooking:
https://github.com/LestaD/SourceEng...0b33c61/src_main/game/server/physics.cpp#L800
and checking for the FVPHYSICS_PLAYER_HELD flag or looping through every object and checking for
C++:
if( VPhysicsGetObject() != NULL && (VPhysicsGetObject()->GetGameFlags() & FVPHYSICS_PLAYER_HELD &&  FVPHYSICS_PENETRATING) )
 {
    //Do some sick stuff 
 }
Oppinions?
 
Last edited:

mambda

headass
Escobar Tier VIP
Trump Tier Donator
Jun 25, 2014
2,294
37,938
269
Hooking it is fine, what issue would you have hooking it??
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods