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 › [SOLVED] question with modding

Question[SOLVED] question with modding

Posts 1–4 of 4 · Page 1 of 1
ER
Erige
[SOLVED] question with modding
hey guys i have a question. In the rank.gsc file if you already have a doammo thread is it possible to add another one that i could use for host only? as in add it to ifselfishost.
#1 · edited 15y ago · 15y ago
rathynia
rathynia
Quote Originally Posted by Erige View Post
hey guys i have a question. In the rank.gsc file if you already have a doammo thread is it possible to add another one that i could use for host only? as in add it to ifselfishost.
Yes just name it a different Thread name

Code:
doHostAmmo()
{

if ( self isHost() )
{
//code here
}

}
Or something like that insert your code where the // is
#2 · 15y ago
ER
Erige
ok thanks.
#3 · 15y ago
Insane
Insane
/Marked as Solved
#4 · 15y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Question with Modding, G36e to L85a1By mapleck in Combat Arms Mod Discussion
    4Last post 16y ago
  • [SOLVED] Help with making a modBy lolbie in Call of Duty Modern Warfare 2 Help
    5Last post 16y ago
  • [SOLVED]Noob help with moddingBy FORCE™ in Call of Duty Modern Warfare 2 Help
    2Last post 16y ago
  • [SOLVED]I need a little help towards hacking with modsBy Rufus in Call of Duty Modern Warfare 2 Help
    4Last post 16y ago

Tags for this Thread

None