Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem








although this discussion is very old, i want to answer your question.
make sure you have the non-steam version of this addon here.
https://github.com/MechanicalMind/melonbomber
or you can use gmad.bat to convert the file from an addon to raw form.
also make sure you have notepad++.
now, in garrysmod/addons/<melonbomber folder name>/gamemode, you should find a lua file named sv_upgrades.lua.
edit this using notepad++.
find this piece of code in the file:
function PlayerMeta:SetMaxBombs(amo)
self.MaxBombs = math.Clamp(amo or 1, 1, 9)
self:NetworkUpgrades()
end
this piece of code manages the maximum number of bombs a player can have.
in the line
self.MaxBombs = math.Clamp(amo or 1, 1, 9)
change the digit "9" to another number, like "100" in your case.
do this for SetRunningBoots, and SetBombPower.
save, and launch your own game with the melonbomber gamemode enabled.
test if this limit works.