home *** CD-ROM | disk | FTP | other *** search
/ One Click 21 (Special) / OC021.iso / Juegos / flashstrike / flashstrike.swf / scripts / DefineButton2_269 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-02-03  |  713 b   |  36 lines

  1. on(release){
  2.    if(_root.kills >= 5)
  3.    {
  4.       if(_root.active == "deagle")
  5.       {
  6.          if(_root.inclip != 35)
  7.          {
  8.             _root.inclip = 35;
  9.             _root.kills -= 5;
  10.          }
  11.       }
  12.       if(_root.kills >= 20)
  13.       {
  14.          if(_root.active == "awp")
  15.          {
  16.             if(_root.inclip != 20)
  17.             {
  18.                _root.inclip = 20;
  19.                _root.kills -= 15;
  20.             }
  21.          }
  22.       }
  23.       if(_root.kills >= 15)
  24.       {
  25.          if(_root.active == "m4")
  26.          {
  27.             if(_root.inclip != 60)
  28.             {
  29.                _root.inclip = 60;
  30.                _root.kills -= 15;
  31.             }
  32.          }
  33.       }
  34.    }
  35. }
  36.