Jump to content

Johnsonsbil29

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Johnsonsbil29

  • Rank
    Newbie
  1. Hey guys! I'm trying to make a trigger-box that repairs my vehicles when i park in it. My code so far looks like this: hint "Repairing, Refueling, and Rearming. Standby 2 minutes"; [] spawn { sleep 120; {_x Setdamage 0} Foreach thislist; {_x Setfuel 1} Foreach thislist; {_x setVehicleAmmo 1} Foreach thislist; }; Returns this error: Error Undefined Variable in expression thislist The code is a collection of stuff i have found on the internet, as i have no real knowledge of coding in ARMA3. How can i fix it? Thanks in advance! :)
×