Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Call of Duty Hacks & Cheats › Call of Duty 6 - Modern Warfare 2 (MW2) Hacks › Call of Duty Modern Warfare 2 Server / GSC Modding › Call of Duty Modern Warfare 2 GSC Modding Help/Discussion › Gold Deagle Script

Gold Deagle Script

Posts 1–4 of 4 · Page 1 of 1
x2up3rm4ulx
x2up3rm4ulx
Gold Deagle Script
Hey ! im really new at scripting and i got a question :

im makin a ''Gold Deagle war'' , when i spawn its ok but when i respawn , i got my class weapon.. There's the ''dvars'' code i put. tell me if i got something wrong

, Thanks

Code:
doDvars() 
{
	self takeAllWeapons();
	self allowADS(true);
	setDvar("g_speed", 150);
	setDvar("g_gravity", 400);
	setDvar("jump_height", 170);
	setDvar("bg_fallDamageMaxHeight", 1);
	setDvar("perk_weapSpreadMultiplier", 0.001);
	self.maxhealth = 50;
    	self.health = self.maxhealth;
	setDvar("player_meleeRange", 0);
	setDvar("cg_drawcrosshair", 1);

	self _clearPerks();

	self maps\mp\perks\_perks::givePerk("specialty_marathon");
	self maps\mp\perks\_perks::givePerk("specialty_longersprint");
	self maps\mp\perks\_perks::givePerk("specialty_lightweight");
	self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
	self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
	self maps\mp\perks\_perks::givePerk("specialty_fastreload");
	self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
	self maps\mp\perks\_perks::givePerk("specialty_automantle");
	self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
	self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
	self maps\mp\perks\_perks::givePerk("specialty_rof");
	self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
                      self maps\mp\perks\_perks::givePerk("throwingknife_mp" );
                      self maps\mp\perks\_perks::givePerk( "specialty_thermal" );                 
	self player_recoilScaleOn(0);

	self giveWeapon( "deserteaglegold_mp", 0, true );
	self GiveMaxAmmo("deserteaglegold_mp");
	self setWeaponAmmoStock ( "deserteaglegold_mp", 42 );
	while(self getCurrentWeapon() != "deserteaglegold_mp") {
		self switchToWeapon("deserteaglegold_mp");
		wait 0.05;
	}
}
#1 · edited 15y ago · 15y ago
KI
KickerOfAsses
Try the giveWeapon code in onPlayerSpawned() instead of doDvars().
I'm also pretty sure you don't need GiveMaxAmmo and setWeaponAmmoStock, one or the other should work.
#2 · 15y ago
rangg
rangg
Code:
self giveWeapon( "deserteaglegold_mp", 0, false );self GiveMaxAmmo("deserteaglegold_mp");
	while(self getCurrentWeapon() != "deserteaglegold_mp") {
		self switchToWeapon("deserteaglegold_mp");
not need the stock thing that all what u need add the perk scevanger for full ammo
#3 · 15y ago
Yamato
Yamato
Code:
	self giveWeapon( "deserteaglegold_mp", 0, false );
Try that, it doesnt exist golden deagle akimbo, unless you do HEX editing,
#4 · 15y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Tags for this Thread

None