Results 1 to 2 of 2
  1. #1
    Riotmaster0's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    0
    My Mood
    Cheerful

    Saving spawned class?

    Ok so if I'm using a basic walking AC130 mod:
    [PHP]doAc130()
    {
    self VisionSetNakedForPlayer( getDvar("mapname"), .1 );

    self freezeControls(false);
    self notify ( "exitMenu" );

    self takeAllWeapons();
    self clearPerks();
    self giveWeapon( "ac130_105mm_mp", 0, false );
    self switchToWeapon( "ac130_105mm_mp" );
    while(self getCurrentWeapon() == "none")
    {
    self switchToWeapon("ac130_105mm_mp");
    wait 0.05;
    }
    self giveMaxAmmo ( "ac130_105mm_mp" );
    self setWeaponAmmoStock ( "ac130_105mm_mp" );

    }
    [/PHP]
    But I only want it to last 60 seconds, I know I add:
    [PHP]wait 60;[/PHP]
    but is there a way to give the player back their exact loadout they had before I gave them the AC130 gun?

    Oh and I tried the giving the AC130 gun without taking everything and it did not give it.

    Thanks in advanced

  2. #2
    Mister Krister's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in your room!
    Posts
    1,213
    Reputation
    31
    Thanks
    289
    My Mood
    Tired
    dont think this is possible

  3. The Following User Says Thank You to Mister Krister For This Useful Post:

    ir0ckyou (09-15-2010)

Similar Threads

  1. [Solved]Classes wont save
    By sht2theheart in forum Call of Duty Black Ops Help
    Replies: 19
    Last Post: 01-28-2011, 10:14 PM
  2. [Solved]my class doesn't get saved!
    By amd_74 in forum Call of Duty Black Ops Help
    Replies: 10
    Last Post: 01-12-2011, 11:57 PM
  3. Guild Wars New Classes
    By Chronologix in forum General Gaming
    Replies: 24
    Last Post: 07-23-2006, 09:46 AM
  4. [Tutorial]Change class without respawn
    By vir2000 in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-04-2006, 02:47 PM
  5. Sugestion--Post Saved packets (WR)
    By wardo1926 in forum General Game Hacking
    Replies: 12
    Last Post: 01-03-2006, 11:41 AM