Sign in to follow this  
Don Cooper

Delteing Vehicles using Debug Console

1 post in this topic

i'm currently working on a script that deletes vehicles when a staff member actives it though the debug console the current code i have so far is this but i want it to detect if a player is either 25m close to the vehicle it wont delete or if a player is within the vehicle it wont delete or even both would be nice if some one can help me with it that would be nice and i would much appreciate it. also i have this line here witch i think might work but i'm not sure " { aCertainUnit in crew _x } count thisList>0; "


myList = nearestObjects [player, [ 
], 25000]; {deletevehicle _x}forEach myList;

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.