Syntax Error. Please help.

Posts 1–2 of 2 · Page 1 of 1
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;
	}
}
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.
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us