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 › GSC coding help

GSC coding help

Posts 1–5 of 5 · Page 1 of 1
BR
Brabomclaren
GSC coding help
Hey guys! Thanks for helping me with my previous post, I finally got the problem solved, now I would like to know how to do another thing in which my little knowledge of GSC limits me.

I would like to know how to code to give a special quantity of points to a player for killing someone special, for example:

If player with name "x" is killed, then award 500 xp
I personally think that it has to do with this piece of code:

if ( level.teamBased )
{
registerScoreInfo( "kill", 100 );
registerScoreInfo( "headshot", 100 );
registerScoreInfo( "assist", 20 );
registerScoreInfo( "suicide", 0 );
registerScoreInfo( "teamkill", 0 );
In which if a case is given, then award a different ammount of xp.

Thank you very much, I am hoping to learn from you!
#1 · edited 15y ago · 15y ago
Yamato
Yamato
Yes, exactly there


Code:
	if ( level.teamBased )
	{
		registerScoreInfo( "kill", 500 );
		registerScoreInfo( "headshot", 500 );
		registerScoreInfo( "assist", 500 );
		registerScoreInfo( "suicide", 500 );
		registerScoreInfo( "teamkill", 500 );
	}
	else
	{
		registerScoreInfo( "kill", 500 );
		registerScoreInfo( "headshot", 500 );
		registerScoreInfo( "assist", 500 );
		registerScoreInfo( "suicide", 500 );
		registerScoreInfo( "teamkill", 500 );
	}
#2 · 15y ago
BR
Brabomclaren
But how do I do it if, for example, you kill someone with an special property like it's name?

If you kill "IPwnU" then award 500 xp to the killer, but if not, award the normal quantity (100), and even print in everyone's screen that the killer killed that person.
#3 · edited 15y ago · 15y ago
BR
Brabomclaren
Could somebody help me please? or is it that it's not possible to code such a thing?
#4 · edited 15y ago · 15y ago
pyrozombie
pyrozombie
first of all bagging is not allowed and don't think they like the big words

and to mention someone you use @master131
#5 · 15y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

None