Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Tayuk

Avatar / Picture

Retired Admin/IFR
Registered:
Posts: 456
Reply with quote  #1 
Does anybody know how I would remove the weapons, magazines and items (map, compass etc) from the crew of a vehicle?
0
Rydygier

Avatar / Picture

IFR Team
Registered:
Posts: 179
Reply with quote  #2 
This should work:

    {
    removeAllItems _x;
    removeAllWeapons _x
    }
foreach (crew vehicle1)
0
Tayuk

Avatar / Picture

Retired Admin/IFR
Registered:
Posts: 456
Reply with quote  #3 
Thank you Rydygier, works perfectly  I will add this to the useful code snippets section.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.