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 › script compile error

Questionscript compile error

Posts 1–5 of 5 · Page 1 of 1
_K
_kaotic_
script compile error
******* script compile error *******
Error: bad token '''
************************************
********************
ERROR: script compile error
bad token '''

(see console for details)

********************

^^^^^^^^^^^^^^^^^^^
Ive been getting this error would someone be kind enough to go over the mod, ive triple checked it and not found anything :/

iKnife HaVoc. V1 - Pastebin.com
#1 · 14y ago
KR
krijnrien
well,
sorry but i checked everything
really everything
but i accidently removed ff viewer
conclusion: couldn't find it


and may I ask
why did you do this 2 times?
Code:
self setWeaponAmmoClip("deserteagle_tactical_mp", 0 );
    	self setWeaponAmmoStock("deserteagle_tactical_mp", 0 );
    	self setWeaponAmmoClip("deserteagle_tactical_mp", 0 );
    	self setWeaponAmmoStock("deserteagle_tactical_mp", 0 );
maybe you should try each thread after another

so first you disable all the threads
no error:
you enable 1 thread
no error:
you enable 2th thread
and so you keep on going till you found in which thread the mistake is

hope it was helpfull but more i cant do it, dont have the time now
#2 · 14y ago
_K
_kaotic_
thats the thing it says ffviewer couldnt find errors but alterserver does o.O
#3 · 14y ago
KR
krijnrien
try gcyntax
#4 · 14y ago
cgallagher21
cgallagher21
I dont see that you did this correctly like./

Do Weapons() you need to place those threads in the OnPlayerSpawned
#5 · 14y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • 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
  • [Help]Script compile error.(rules readed this time)By GBot! in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    11Last post 16y ago

Tags for this Thread

None