CreatePlaceInPlayerInventoryAsync
Yields
This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts.
Unsafe
For thread safety, this property is not safe to read in an unsynchronized thread.
This function has been removed as of Release 471.
Clones a place which has a placeId equal to the given templatePlaceID, placing it into the inventory of the given player with the given name and description, if they accept when prompted. This method cannot be used to clone places that you do not own, or those which have disabled the use of the CreatePlace API in their place’s configuration.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
|
|
|||
|
|
|||
|
|
|||
|
|
Returns
| Return Type | Summary |
|---|---|