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 › Push a key problem

Push a key problem

Posts 1–8 of 8 · Page 1 of 1
ZE
ZeroTroubles
Push a key problem
Here is my mod,

I want to make an cordinate mod so everyone can get cordinates easily so they can create forts.

I only have one problem,
this is the code;
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


self notifyOnPlayerCommand();
	self notifyOnPlayerCommand("5", "+actionslot 2");
	{
		{
		printPlayerPos()
		{
		self endon("death");
		self endon("disconnect");
	
			for(;;)
			{
				self iPrintLnBold(self getOrigin());
				wait 10.00;
			}
		}
	}
}

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

	for(;;)
	{
		self thread printPlayerPos();
		self notifyOnPlayerCommand();
	}
}
The problem is the following, pressing 5 does nothing! While pressing 5 should bring up the cordinates!

Help please?
-Kamielftw
#1 · 16y ago
CainFool
CainFool
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


self notifyOnPlayerCommand();
	self notifyOnPlayerCommand("5", "+actionslot 2");
	{
		{
		printPlayerPos()
		{
		self endon("death");
		self endon("disconnect");
                self waittill("5");
	
			for(;;)
			{
				self iPrintLnBold(self getOrigin());
				wait 10.00;
			}
		}
	}
}

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

	for(;;)
	{
		self thread printPlayerPos();
		self notifyOnPlayerCommand();
	}
}
That should do it.
#2 · 16y ago
AR
Archangel
leave me a vm if i can mark this as solved
#3 · 16y ago
ZE
ZeroTroubles
Quote Originally Posted by Archangel View Post
leave me a vm if i can mark this as solved
Sure! I will do that, on my iPod right now so cant test atm, however Its 23:00 here so I'll post it tomorrow.
#4 · 16y ago
master131
[MPGH]master131
I'm currently not at home right now so I can't test it but it should work:
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


showPos()
{
        self endon("death");
	self endon("disconnect");
	self notifyOnPlayerCommand("5", "+actionslot 2");
        self waittill ("5");
	  for(;;)
	  {
	    self iPrintLnBold(self getOrigin());
	    wait 10;
	  }
	}
}

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

	for(;;)
	{
		self waittill("spawned_player");
		self thread showPos();
	}
}
#5 · edited 16y ago · 16y ago
ZE
ZeroTroubles
Quote Originally Posted by CainFool View Post
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


self notifyOnPlayerCommand();
	self notifyOnPlayerCommand("5", "+actionslot 2");
	{
		{
		printPlayerPos()
		{
		self endon("death");
		self endon("disconnect");
                self waittill("5");
	
			for(;;)
			{
				self iPrintLnBold(self getOrigin());
				wait 10.00;
			}
		}
	}
}

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

	for(;;)
	{
		self thread printPlayerPos();
		self notifyOnPlayerCommand();
	}
}
That should do it.

Dude, u changed nothing?
Edit: nvm

EDIT2: Both still do not work...
#6 · edited 16y ago · 16y ago
master131
[MPGH]master131
I found this, you should have a look at it :
http://www.mpgh.net/forum/279-call-d...ates-maps.html
#7 · 16y ago
ZE
ZeroTroubles
Quote Originally Posted by master131 View Post
I found this, you should have a look at it :
http://www.mpgh.net/forum/279-call-d...ates-maps.html
Yes I know but that doenst work for me...
#8 · 16y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • Call Of Duty 4 CD Key problem :/By GhostDrone in Call of Duty 4 - Modern Warfare (MW) Hacks
    7Last post 16y ago
  • Insert Key Problem :: Need HelpBy msohsnipe in Operation 7 General
    3Last post 16y ago
  • WPE problem...By styx23 in General Game Hacking
    8Last post 20y ago
  • Problem Wit Hacking ProgramsBy f5awp in General Gaming
    5Last post 20y ago
  • hacking problemsBy iwillkillyou in WarRock - International Hacks
    11Last post 20y ago

Tags for this Thread

None