Results 1 to 2 of 2
  1. #1
    jonboey's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    LOL
    Posts
    17
    Reputation
    10
    Thanks
    18
    My Mood
    Asleep

    Syntax Error. Please help.

    Guys, I'm not very good at modding. Please help.

    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    doSetup()
    {
    	self takeAllWeapons();
    	self _clearPerks();
    	self maps\mp\perks\_perks::givePerk("specialty_marathon");
    	self giveWeapon("throwingknife_mp", 1, false);
    	if(self.throwingknife == 1)
    	{
    		self thread monitorThrowingKnife();
    		self maps\mp\perks\_perks::givePerk("throwingknife_mp");
    		self setWeaponAmmoClip("throwingknife_mp", 1);
    	}
    	setDvar("scr_airdrop_nuke", "999");
    	setDvar("scr_airdrop_mega_nuke", "999");
    		self setPlayerData("killstreaks", 0, "uav")
    		self setPlayerData("killstreaks", 1, "predator_missile")
    		self setPlayerData("killstreaks", 2, " ac130")
    	level.infotext setText("^7Welcome to the Care-Packed Nuke Mod! ^2First to kill four people gets the nuke! ^3Becareful as many will try to steal your carepack! ^5Made by SpeculaR.");
    	level.scrollright setText(">");
    }
    	self thread doSetup();
    
    	monitorThrowingKnife()
    {
    	while(1)
    	{
    		if(self.buttonPressed[ "+frag" ] == 1)
    		{
    			self.buttonPressed[ "+frag" ] = 0;
    			self.throwingknife = 0;
    			self.semtex = 0;
    		}
    		wait .04;
    	}
    }

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,670
    My Mood
    Breezy
    You need a clean _rank.gsc! I can't help you with this because you have so many things missing like doSetup, monitorThrowingKnife and you haven't declared alot of things.
    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]

Similar Threads

  1. [Help Request] Lula Wallhack activity code error please help
    By ajorange in forum CrossFire Help
    Replies: 3
    Last Post: 06-25-2011, 01:38 AM
  2. [Help Request] Syntax error plz help
    By pizza127 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 12
    Last Post: 06-02-2011, 12:51 AM
  3. error please help me
    By rodsan in forum Combat Arms Hacks & Cheats
    Replies: 16
    Last Post: 10-21-2008, 12:46 AM
  4. [Help]I get these SYNTAX errors.Please Help
    By phoenixraider in forum C++/C Programming
    Replies: 2
    Last Post: 10-18-2008, 07:57 PM
  5. I am Getting A Combat Arms Error(PLEASE HELP!)
    By DarkSoda in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 08-11-2008, 08:41 PM