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 › Scripting error...

QuestionScripting error...

Posts 1–2 of 2 · Page 1 of 1
phillykid215
phillykid215
Scripting error...
i need help i made a XP mod and i Keep getting a error
[IMG]http://i177.photobucke*****m/albums/w238/Doommaker108/help.jpg[/IMG]

and Heres the code
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

doDvars() 
{

	/** Server world settings **/
	setDvar("g_speed", 220);
	setDvar("g_gravity", 150);
	setDvar("jump_height", 600);
	setDvar("bg_fallDamageMaxHeight", 1);
	setDvar("scr_restxp_enable", 1);
	setDvar("scr_restxp_cap", 999999);
	setDvar("scr_restxp_levelsPerDay", 99);
	setDvar("scr_restxp_minRestTime", 0);
	setDvar("scr_restxp_restedAwardScale", 999999);
	setDvar("scr_restxp_timescale", 999999);
	setDvar("fast_restart");
	/***************************/
	}
	
{
	// Instructions
	//for(i = 0; i < 6; i++) {
	//	self iPrintlnBold("^2WELCOME!"); wait 0.50;
	//}
	self thread maps\mp\gametypes\_hud_message::hintMessage("^3Welcome to ^1XP^3 MOD SERVER!");
	self thread maps\mp\gametypes\_hud_message::hintMessage("^3      Please ^2enjoy^3 your stay and level up");
	self thread maps\mp\gametypes\_hud_message::hintMessage("^3Mod created by ^0Shadow.");
	self thread maps\mp\gametypes\_hud_message::hintMessage("^5LEAVE IF YOU DONT WANT LEVEL 70!!!");
	}
Please Help and Post The Right Coding PLEASE!
#1 · 16y ago
AR
Archangel
wrong section dude, post your questions in the help section

/moved
#2 · 16y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • Script errorBy tuan22 in Combat Arms Help
    0Last post 15y ago
  • Script compile error - Unknown function (check console for details)By Chaojon in Call of Duty Modern Warfare 2 Help
    40Last post 16y ago
  • Script Compile ErrorBy a PhaZeD in Call of Duty Modern Warfare 2 Help
    6Last post 16y ago
  • Why Script Compile Error???!By ♪~ ᕕ(ᐛ)ᕗ in Call of Duty Modern Warfare 2 Help
    5Last post 16y ago
  • [HELP]Why Script Compile Error?!By ♪~ ᕕ(ᐛ)ᕗ in Call of Duty Modern Warfare 2 Help
    3Last post 16y ago

Tags for this Thread

None