Jump to content

[Help] onClientColShapeHit


Sisqo0

Recommended Posts

I'm trying to put vehicles (have ColSphere) in the same location with different dimensions and Interiors but I got a problem that I can hit all the colshapes with onClientColShapeHit although I'm in another dimension and interior. I tried to check the dimension with getElementDimension and parameter of onClientColShapeHit function ( matchingDimension ) but neither of them could help.

Is there a way to solve that? Thanks in advance.

Link to comment
  • Discord Moderators

Without testing it, the matchingDimension parameter should work and tell you if the element hit the colshape in the right dimension.

Can you post your code?

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...