getMetadata
returns a specific metadata value
local thirst = ps.getMetadata(source, 'thirst')
local hunger = ps.getMetadata(source, 'hunger')
ps.debug(thirst, hunger)1: 94.23
2: 53.63Last updated
returns a specific metadata value
local thirst = ps.getMetadata(source, 'thirst')
local hunger = ps.getMetadata(source, 'hunger')
ps.debug(thirst, hunger)1: 94.23
2: 53.63Last updated