Prop.setCrateDelay 10
Seconds between two uses of the crate.
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | Number | Seconds between two uses. |
Examples
A crate with its own content
-- on an ammo crate: it hands out these items instead of ammo, once a minute
myself:setCrateContent({ "ammo_30_06", "droppable_refill_crate" })
myself:setCrateDelay(60)