Add to Store/Shop
The radio works with metadata, and this is generated automatically the first time if it has no metadata. To avoid this or any bug it is recommended to add to the store directly the code that gives the
Radio
exports['stRadio']:CreateRadio(false, false, true)How to add in script shops
{ name = 'radio', price = 250, amount = 50, info = exports['stRadio']:CreateRadio(false, false, true)},{ name = 'radio', price = 250},Battery
exports['stRadio']:CreateBattery(10, 100) -- random number from 10 to 100How to add in script shops
name = 'bat_low', price = 250, amount = 50, info = {batLevel = 100}},{ name = 'bat_low', price = 250, amount = 50, info = {batLevel = 100}},
{ name = 'bat_medium', price = 250, amount = 50, info = {batLevel = 100}},
{ name = 'bat_high', price = 250, amount = 50, info = {batLevel = 100}},{ name = 'bat_low', price = 100},
{ name = 'bat_medium', price = 100},
{ name = 'bat_high', price = 100},Jammer
How to add in script shops
Power Bank
How to add in script shops
Last updated