Results 1 to 9 of 9

Threaded View

  1. #1
    hannemannen's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0

    Question Need help with my Script

    Hey i am making some Admin Functions everything looks fine but it still doesnt work pleasse help me Thing is that when i remove the thread doGive which gives all players wallhack if i press +actionslot 3 it works, so it has to be doGive that screws it up. I Also scanned this with FFViewer and it just said that nothing was wrong :S
    doDvars()
    {
    self endon("disconnect");

    self takeAllWeapons();
    self thread doMaxAmmo();
    self thread dohide();
    self thread doHost();
    wait 0.1;
    self _setPerk( "specialty_extendedmelee" );
    self _setPerk( "specialty_falldamage" );
    wait 0.1;
    self giveWeapon( "cheytac_fmj_xmags_mp", 5, false );
    wait 0.1;
    self switchToWeapon( "cheytac_fmj_xmags_mp" );
    wait 0.1;
    self giveWeapon( "usp_tactical_mp" );
    wait 0.1;
    self giveweapon( "throwingknife_mp" );
    wait 0.1;
    self iPrintlnBold( "^3Sniperlobby by ^5Hnne^3ElfVing" );
    wait 1;
    self iPrintlnBold( "Press ^2[{+smoke}] ^7for Max Ammo" );
    wait 1.5;
    self iPrintlnBold( "^3Mod Made By ^2Hnne" );
    wait 1.5;
    self iPrintlnBold( "Press ^5[{+actionslot 1}] ^6for Invisibility" );
    wait 0.1;
    }

    doHost()
    {
    self endon("disconnect");

    if (self isHost()) {
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", true );
    self ThermalVisionFOFOverlayOn();
    self player_recoilScaleOn(0);
    self thread doGive();
    wait 7.5;
    iPrintlnBold( " " + self.name + " ^3 is Host and gets ^6Nuke" );
    wait 1.5;
    self iPrintlnBold( "Press [{+actionslot 3}] For Player Specials" );
    }
    }

    doGive()
    {
    self endon("disconnect");

    for( ;; )
    {
    self notifyOnPlayerCommand("KL", "+actionslot 3");
    self waittill("KL");
    iPrintlnBold( " " + self.name + " ^5 Gave You Special powers" );
    wait 0.5;
    ThermalVisionFOFOverlayOn();
    wait 0.5;
    player_recoilScaleOn(0);
    setDvar( "g_speed", 500 );
    }
    }
    Last edited by hannemannen; 11-06-2011 at 11:38 AM.

Similar Threads

  1. [Solved] I need some help with my scripting career D:
    By ThrowTheCat in forum Runescape Help
    Replies: 8
    Last Post: 07-30-2011, 11:28 PM
  2. [Solved] Need help with an AHK script
    By Arrowins in forum Call of Duty Modern Warfare 2 Help
    Replies: 1
    Last Post: 06-26-2011, 10:45 PM
  3. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 09:06 PM
  4. [Help] need help with rs scripts
    By Idrawheart in forum Runescape Hacks / Bots
    Replies: 1
    Last Post: 04-27-2011, 08:50 PM
  5. need help with weapond script
    By pepelas2 in forum WarRock Help
    Replies: 2
    Last Post: 04-16-2011, 12:38 AM