Jump to content

problem with getClosestObjectOfType


Recommended Posts

Posted (edited)

i've a list of gym equipment which are

    'prop_muscle_bench_01',
    'prop_muscle_bench_02',
    'prop_muscle_bench_03',
    'prop_muscle_bench_04',
    'prop_muscle_bench_05',

i use getClosestObjectOfType to check these equipments are near the player, but it always returns 0 unless it's prop_muscle_bench_03, even when I'm within the range of the other objects.

Edited by wishkey

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...