Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CamxxCore/e97201abeb433fd249cc0c140324928f to your computer and use it in GitHub Desktop.
Save CamxxCore/e97201abeb433fd249cc0c140324928f to your computer and use it in GitHub Desktop.
blah
for (int i = VehiclePool.Length - 1; i >= 0; i--)
{
Vehicle veh = VehiclePool[i];
if (veh.IsOnFire && !OnFireList.ContainsKey(veh.Handle))
{
var fx = new VehicleEffects(veh);
fx.InitializeFire_SmokeEffect();
OnFireList.Add(veh.Handle, vehicleEffect);
//Log.Write(true, veh.FriendlyName, "Added to OnFire list");
//Log.Write(true, this.Name, "Fire_Smoke Effects on");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment