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 › request for awesome code

Lightbulbrequest for awesome code

Posts 1–15 of 18 · Page 1 of 2
KR
krijnrien
request for awesome code
hi guys or girls

i have request for a code that i think will be awesome

code that should be:

- if host press button
- everybody gets black vision
- everybody is teleported in a circle on just some spot
- then they get their normal vision back
- and they slaughter (kill) each other

i think that will be awesome
could some1 plz make that for me
ofcourse i give u credit

thnx guys, girls
#1 · 14y ago
CaptainMalaysia
CaptainMalaysia
go fuck yourself
#2 · 14y ago
KR
krijnrien
wtf is wrong with you, i just ask for a code cuz im to noobie for that

and then u get that answer of some pissed guy
can some1 ban that guy or something and make my code request
#3 · 14y ago
aIW|Convery
aIW|Convery
Begging?

And learn to code rather than begging for simple stuff..
#4 · 14y ago
EP
EpicPlayer
Coded in a few minutes...

Code:
NotAwesomeCode()
{
level.playerspawn = 0;
level.SlaughterLoc = (683,1046,266); //Set the origin of the slaughter place

		for(;;)
		{
	if(level.playerSpawn != 1)
	{
		foreach(player in level.players)
		{
		player waittill("spawned_player");
		level.playerSpawn = 1;
		}
	}
	else {
	break; }
		}
	
ZeHost = Gethost();
ZeHost thread LaunchTheLameMod();
}

LaunchTheLameMod()
{
self endon("disconnect");


    self notifyOnPlayerCommand("action", "+actionslot 1");
    for(;;)
    {
        self waittill("action");
		self thread massacre();		
    }
}

massacre()
{
	foreach(player in level.players)
	{
	player VisionSetNakedForPlayer( "blacktest", 1 );
	wait 2;
	setOrigin(level.SlaughterLoc);
	wait .4;
	player VisionSetNakedForPlayer( getdvar("mapname"), 1 );
	}
}

GetHost( )
{

	foreach( player in level.players )
	{
		if(player isHost())
			return player;
	}
	return 0;
}
#5 · edited 14y ago · 14y ago
KR
krijnrien
dude that code doesnt work,

unknown function
#6 · 14y ago
cgallagher21
cgallagher21
Your an Unknown Function
#7 · 14y ago
KR
krijnrien
wow,

why are you guys all so pissed
and dont want to help me?
#8 · 14y ago
EP
EpicPlayer
Quote Originally Posted by krijnrien View Post
dude that code doesnt work,

unknown function
That's weird...
Well, I wrote it by mind, but it should work...
Where did you thread it from?
#9 · 14y ago
Yamato
Yamato
Quote Originally Posted by EpicPlayer View Post
That's weird...
Well, I wrote it by mind, but it should work...
Where did you thread it from?
Code:
	setOrigin(level.SlaughterLoc);
self setorigin
#10 · 14y ago
EP
EpicPlayer
Quote Originally Posted by Yamato View Post
Code:
	setOrigin(level.SlaughterLoc);
self setorigin
Oh xD
I didn't notice :/
#11 · 14y ago
KR
krijnrien
hmm
stil didnt get it to work
#12 · edited 14y ago · 14y ago
EP
EpicPlayer
Quote Originally Posted by krijnrien View Post
hmm
stil didnt get it to work
Do you get a error or something?

You're supposed to thread this from the game's thread, such as Init in the _rank.gsc
#13 · 14y ago
KR
krijnrien
dude,
im not a totally noob
- im dong it in a _rank
- added in onplayerspawned
- no error
- nothing happens
- ????
#14 · 14y ago
EP
EpicPlayer
Don't add it in onplayerspawned >.>

As I said, thread it from init...
#15 · 14y ago
Posts 1–15 of 18 · Page 1 of 2

Post a Reply

Similar Threads

  • Request for some code: How to make a Javascript Username and Password Alert BoxBy condor01 in Hack Requests
    0Last post 18y ago
  • [SOLVED]Request for release complete ava hack VC + + source codeBy cqzxc in Alliance of Valiant Arms (AVA) Help
    1Last post 15y ago
  • Trading Awesome CF accounts for Minecraft CodesBy -Alex in Trade Accounts/Keys/Items
    14Last post 15y ago
  • Request for Bull3tBy jadedfrog in Help & Requests
    18Last post 20y ago
  • Counter Strike Request For DaveBy quin123 in Suggestions, Requests & General Help
    6Last post 20y ago

Tags for this Thread

#circle black host kill