Skip to content

realtrollman2319/MetadataChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MetadataChecker

Special thanks to Ster for helping me make this module!

About

This module is for uScript2 for Unturned. Its purpose is to add a extension that allows you to retrieve or edit the metadata of a gun, gas can, night vision or a canteen. Useful for storing the durability of a suppressor inside a gun, save files and more.

Documentation

inventory [Class]:
    +addItemMetadata(uInt16 itemID, array metadataArray, [byte quality], [byte amount])
    
item [Class]:
    +metadata            [get]      : array
      
MetadataEditor [Class]:
    +applyMetadata(object item, string playerId, array metadataArray)
    +toByteArray(uInt16 number)           : array
    +toUInt16(byte byte1, byte byte2)     : uInt16
    
player [Class]:
    +giveItemMetadata(uInt16 itemID, array metadataArray, [byte quality], [byte amount])

Note:

It now supports arrays. Make sure it's the same count as the item's metadata you're editing.

Additional information

Here's additional information about item metadatas. https://steamcommunity.com/sharedfiles/filedetails/?id=2184421464

If you're having problem with this module, just let me know via discord. 735211881953886238 Or join the uScript discord. https://discord.gg/86Zfvsjkdt

Donations

If you feel grateful to donate, you can do so by clicking here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages