Results 1 to 3 of 3
  1. #1
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed

    [Solved]Deleting FX

    Hello, I have this code, and it shots a certain FX, but I want to remove the FX after 6 seconds, how can I do that???

    Code:
    Deadly()
    {
            self endon("death");
    
             for(;;)
                 {
                 self waittill( "weapon_fired" );
                 if ( self getCurrentWeapon() == "pp2000_eotech_mp" )
                   {
                   MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
                   end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
                   forward = self getTagOrigin("j_head");
                   crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
                   playFX(level.chopper_fx["light"]["left"], crosshair); 
                   }
                 }
    }

  2. #2
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    I think someone asked this already maybe look at arasonics post(soz if I spell rong)

  3. #3
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,667
    My Mood
    Breezy
    Code:
    fx = SpawnFx(level.chopper_fx["light"]["left"], crosshair); 
    TriggerFX(fx);
    wait 6;
    fx delete();
    /marked as solved
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  4. The Following 2 Users Say Thank You to master131 For This Useful Post:

    harthansen (02-12-2011),Yamato (02-11-2011)