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] Trying to Use Dvars

[SOLVED] Trying to Use Dvars

Posts 1–6 of 6 · Page 1 of 1
nikolai13
nikolai13
[SOLVED] Trying to Use Dvars
Hey sorry for all these posts but i need some more help, when im trying to use Dvars in my mod it doesn't work. I use the:

doDvars()
{
(dvar codes)
}

But it doesn't seem to work can anyone help?
#1 · edited 16y ago · 16y ago
JamesA1994
JamesA1994
In your on player spawned, put
self thread doDvars()
#2 · 16y ago
CJ
CJKay
onPlayerSpawned() should contain self thread doDvars(); somewhere after self waittill("spawned_player");.

Then do the typical setDvar() setup
#3 · 16y ago
JamesA1994
JamesA1994
Quote Originally Posted by CJKay View Post
onPlayerSpawned() should contain self thread doDvars(); somewhere after self waittill("spawned_player");.

Then do the typical setDvar() setup
Oh yeah, I forgot the ;
Nice spotting xD

Please report back...
#4 · 16y ago
nikolai13
nikolai13
thank you so much guys you are the best
#5 · 16y ago
Insane
Insane
/Marked as Solved
#6 · 16y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • [SOLVED] How to use DvarsBy Elmfuzzy in Call of Duty Modern Warfare 2 Help
    3Last post 16y ago
  • Crossfire won't load after trying to use bypassBy SirKinky in CrossFire Help
    8Last post 15y ago
  • I'm trying to use paypal but problem.By 48Aces in Combat Arms Help
    1Last post 15y ago
  • [Help] CA cant start anymore, after tried to use hack! (Picture)By Noxit in Combat Arms Europe Hacks
    18Last post 17y ago
  • Error im getting when trying to use the nexon pluginBy mpghhackersrock123 in WarRock Korea Hacks
    4Last post 18y ago

Tags for this Thread

#codes#dvars#modern#mods#warfare