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 Help › [SOLVED]Newbie modder needs help :D

[SOLVED]Newbie modder needs help :D

Posts 1–10 of 10 · Page 1 of 1
KE
kekec12345
[SOLVED]Newbie modder needs help :D
Hello everyone!
I'm a newbie modder and i need help with quickscope script

I've got this
Code:
Quickscope()
{
        self endon ( "disconnect" );
        self endon ( "death" );
self notifyOnPlayerCommand("[{+toggleads_throw}]", "+toggleads_throw");
        while(self getCurrentWeapon() == "cheytac_fmj_heartbeat_mp")  //This is the part that doesn't seem to work
{
		
                self waittill("[{+toggleads_throw}]");
                wait 1.0;
                self allowADS(false);
                wait 0.0005;
                self allowADS(true);
            
                wait 0.0005; }
But this doesn't seem to work...
If i use "while(1)" instead of "while(getCurrentWeapon()...." part it works, but it does that for all weapons, and i only want to do it when Intervention is in use...

Also, i got "self thread QuickScope();" in onPlayerSpawned(), before the for ( ; ; ) loop

Thanks to everyone who decides to help me
#1 · 16y ago
master131
[MPGH]master131
Try this:
[php]Quickscope()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("[{+toggleads_throw}]", "+toggleads_throw");
while(self getCurrentWeapon() == "cheytac_")
{
self waittill("[{+toggleads_throw}]");
wait 1.0;
self allowADS(false);
self allowADS(true);
self allowADS(false);
self allowADS(true);
wait 0.0005;
}
}[/php]

It's a bit messy and could be a bit more simplified but it gets the job done atleast.
#2 · edited 16y ago · 16y ago
KE
kekec12345
It still doesn't work...
It allows me to ADS forever....
#3 · 16y ago
master131
[MPGH]master131
I just edited my post, see if that works.
#4 · 16y ago
KE
kekec12345
No, still doesn't work....


Edit:
Btw, why do you use allowADS twice?
like:
Code:
self allowADS(false);
     self allowADS(true);
     self allowADS(false);
     self allowADS(true);
#5 · edited 16y ago · 16y ago
master131
[MPGH]master131
I edited it again.
#6 · 16y ago
KE
kekec12345
This kinda seems pointless, nothing works :P
#7 · 16y ago
master131
[MPGH]master131
Quote Originally Posted by kekec12345 View Post
No, still doesn't work....


Edit:
Btw, why do you use allowADS twice?
like:
Code:
self allowADS(false);
     self allowADS(true);
     self allowADS(false);
     self allowADS(true);
I don't know. I looked at Josephlittle's mod and that's what he seemed to have done and the mod works fine. lol
#8 · 16y ago
KE
kekec12345
It works, but as far as i know, his mod only gives you intervention...

I'm planning to give everyone intervention and possibly AT4 with 1 bullet...or javelin, but they both require lock on to shoot vehicles....

That's why i need that...

But it doesn't seem to work

Well, tnx anyways
#9 · edited 16y ago · 16y ago
House
House
/Moved to Help
/Marked as Solved
#10 · 16y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • New modder Need help with simple text input NOOB!!By rotceh_dnih in Call of Duty Black Ops GSC Modding Help & Discussion
    3Last post 15y ago
  • [SOLVED]new here need help and maybe a guideBy Eclipse Demon in Call of Duty Modern Warfare 2 Help
    5Last post 16y ago
  • [SOLVED] Hey ..guyz need help hereBy zerg123 in CrossFire Help
    5Last post 16y ago
  • [SOLVED] plz i need help with frapsBy sh_z_sektor in CrossFire Help
    3Last post 16y ago
  • [SOLVED] I really need helpBy rovald in Call of Duty Modern Warfare 2 Help
    6Last post 15y ago

Tags for this Thread

#mod quickscope