Quantcast

Jump to content

» «
Photo

How to check if there are no peds nearby at a certain distance?

2 replies to this topic
Darchang310
  • Darchang310

    Eternal Trekker

  • Members
  • Joined: 21 Jul 2014
  • Philippines

#1

Posted 19 August 2014 - 01:16 PM Edited by Darchang310, 19 August 2014 - 01:21 PM.

I've previously used "0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 0@ closest_ped_to 1@" and then check if 1@ == -1. I'm hoping that there is a better alternative to doing this, preferably without making references to any ped or vehicle.

This is for the Disguise mod I've talked about earlier.


HeresOtis
  • HeresOtis

    The SCM Undergrad

  • Feroci Racing
  • Joined: 29 Apr 2011
  • United-States

#2

Posted 19 August 2014 - 07:07 PM

06FF


Darchang310
  • Darchang310

    Eternal Trekker

  • Members
  • Joined: 21 Jul 2014
  • Philippines

#3

Posted 20 August 2014 - 02:55 AM

Oh, wow. LOL. Why haven't I found that before? Thanks HeresOtis. XD





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users