Jump to content

Client side - Get who gripping you.


Recommended Posts

Posted

Hello everyone.
 

How can i get by who i being gripped from client side in mp game?
 

So i check if i being gripped ( fd.forceGripCripple != 0 ) and how can i get by who?
I tryed to use loop for every player to check if fd.forceGripEntityNum (what entity i'm gripping - as desc says) == my client id, but fd.forceGripEntityNum is always 0.

Posted

That's because you don't receive the playerstate structure of other clients.

I can't think of a way to determine who is gripping you.

Posted

The client side doesn't have this data, so at best its probably doing a range check and looking at the client's anim.

 

Sounds like you are trying to do auto anti grip hax or some such :|

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...