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 › Other Semi-Popular First Person Shooter Hacks › DayZ Mod & Standalone Hacks & Cheats › Scripting help needed. Would this be possible?

ArrowScripting help needed. Would this be possible?

Posts 1–5 of 5 · Page 1 of 1
LU
LulzCode
Scripting help needed. Would this be possible?
Everyone knows you can do things like:
player addweapon "NVGoggles";

But would it be possible to, using the Cheat Engine at main menu then closing method, do something like this?

inv = playerInventory player; if(!inv.hasweapon("NVGoggles") && inv.hasFreeSlot()) player addweapon "NVGoggles";

This would be a method to get infinite ammo without overriding other slots in your inventory.
#1 · 14y ago
DU
DutchMuffin
That looks a lot like LUA syntax there :P

On Topic: If it follows the correct syntax, which, it being a guess, it probably doesn't, then yes it'd work. You can probably google for the correct 'for statements' syntax for Arma II scripting.
#2 · 14y ago
LU
LulzCode
Never programmed with LUA.

This was closer to C++/Java to me, which are my core programming languages.
#3 · 14y ago
A1
a1b2c3d4e511
Here is the best source for scripting in arma.

Arma II: Scripting Commands
#4 · 14y ago
LU
LulzCode
Yeah I'm trying to write something and awaiting a test in my other thread, or even just code verification.
#5 · 14y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • [ASK] Would This Be Possible Coders?By freeiphone4all in CrossFire Discussions
    4Last post 16y ago
  • Would this be possible?By tristesse in CrossFire Mods & Rez Modding
    12Last post 16y ago
  • Would this be possible?By Flash² in Combat Arms Hack Coding / Programming / Source Code
    2Last post 16y ago
  • [Help] me would this work?By spiderpig666 in General
    21Last post 15y ago
  • [Help]How is this even Possible?By o0OpurezO0o in Visual Basic Programming
    12Last post 15y ago

Tags for this Thread

None