ResetHerb
A picked spot grows back now, for everyone.
Also a herb of the mode’s (CreateHerb) that was picked stands again. At once, in view of the players around it.
Syntax
Section titled “Syntax”ResetHerb(key)| Parameter | Type | |
|---|---|---|
key |
string | the spot’s key (OnPlayerPickHerb’s key, TakeHerbs, GetHerbsNear) |
Returns
Section titled “Returns”true, false when the server holds no picked spot of that key
Example
Section titled “Example”local key = TakeHerbs("herb_mint", 600, 3300, 146, 5, 0)SetTimer(function() ResetHerb(key) end, 600000, false) -- back after ten minutesSee also
Section titled “See also”ResetHerbs · GetHerbsNear · the Herbs and mushrooms group of the index
