v1.2.44 patch
Item rewards for territory war winners and an interaction menu for everyone
2changes

Item rewards for territory war winners and an interaction menu for everyone
2changes

[02] Release
Territory war winners can now receive items on top of the XP and clean money. A new option lets players who are not in an organization use the interaction menu to handcuff, escort and put on or take off headbags.
config/main.lua. Both are optional: without them the script works exactly as before.Inside Config.CrimeTablet, under WarObjectiveTieFavorsDefender:
WarWinnerItems = { -- [EDIT] Items every online member of the winning organization receives, on top of the XP and the clean money pool
-- { item = 'weapon_pistol', amount = 1 },
-- { item = 'ammo-9', amount = 50 },
},
Under Config.InteractionKey:
-- Set true to let players without an organization use the interaction menu (handcuff, escort, headbag)
Config.InteractionsForEveryone = false
custom/client.lua, keep your file and change one line in OpenInteractionMenu():-- before
if not organization then
-- after
if not organization and not Config.InteractionsForEveryone then
Replace every file in the resource, except what you edited yourself:
server/modules/interaction.luaserver/modules/territory_war.luacustom/client.lua: one line, see above.config/main.lua: two new options, see above.fxmanifest.lua: version only.New option WarWinnerItems in Config.CrimeTablet. Every online member of the winning organization receives the items you list there, on top of the XP and the clean money pool. It is empty by default, so nothing changes until you fill it in.
New option Config.InteractionsForEveryone. When it is true, players who are not in an organization can also use the interaction menu to handcuff, escort and put on or take off headbags. It is false by default, so only organization members can use it, as before.