• Hey! Register here to create your account, engage with the community, and talk about what is new!

how do i save inv without noble becuase i know it is possible

Solution
Player Event [Join] {
Player Action [Give Item] { (%default Inv) }
Player Action [Set Armor Items] { (%default Armor) }
Player Action [Set Equipment (OffHand) ] { (%default Offhand) }
}

Player Event [Leave] {
Set Variable [=] { (%default Inv) (Game Value [Item Values - Inventory items]) }
Set Variable [=] { (%default OffHand) (Game Value [Item Values - OffHand item]) }
Set Variable [=] { (%default Armor) (Game Value [Item Values - Armor items]) }
}

All variables should be SAVE

General_Mudkip

Retired Moderator
Overlord
Joined
Sep 6, 2020
Messages
362
Reaction score
95
There are a few templates available on the plot "Code Vault". There should be instructions on how to use it on your plot there.
 

lemonhead2000

New member
Joined
Jun 16, 2021
Messages
4
Reaction score
1
Player Event [Join] {
Player Action [Give Item] { (%default Inv) }
Player Action [Set Armor Items] { (%default Armor) }
Player Action [Set Equipment (OffHand) ] { (%default Offhand) }
}

Player Event [Leave] {
Set Variable [=] { (%default Inv) (Game Value [Item Values - Inventory items]) }
Set Variable [=] { (%default OffHand) (Game Value [Item Values - OffHand item]) }
Set Variable [=] { (%default Armor) (Game Value [Item Values - Armor items]) }
}

All variables should be SAVE
 
Solution

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,256
Reaction score
352
wont this only work with one player?

(reply quick I dont have 2 years)
it will work with multiple players since the variables have %default in them which will be replaced with the player's name
(e.g scoobnuckles Inv, scoobnuckles OffHand), also, i recommend you replace the %default with %uuid so even if the player changes their name, the inventory stays under their name.
 
Top Bottom