Exports

Client Exports

exports["rm_drugeffects"]:getAddiction(itemName --[[ string ]]) -- return float

exports["rm_drugeffects"]:setAddiction(itemName --[[ string ]], value --[[ float ]]) 

Examples

local weedAddiction = exports["rm_drugeffects"]:getAddiction("weed_haze_pack")

exports["rm_drugeffects"]:setAddiction("weed_haze_pack", 50.0)

Last updated