@citizenfx/server 2.0.14427-1 → 2.0.14583-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/natives_server.d.ts +3 -2
- package/package.json +1 -1
package/natives_server.d.ts
CHANGED
|
@@ -2174,8 +2174,9 @@ declare function SetEntityIgnoreRequestControlFilter(entity: number, ignore: boo
|
|
|
2174
2174
|
* KeepEntity = 2
|
|
2175
2175
|
* }
|
|
2176
2176
|
* ```
|
|
2177
|
-
* Sets what
|
|
2178
|
-
*
|
|
2177
|
+
* Sets what the server will do when the entity no longer has its original owner. By default the server will cleanup entities that it considers "no longer relevant".
|
|
2178
|
+
* When used on trains, this native will recursively call onto all attached carriages.
|
|
2179
|
+
* **NOTE**: When used with `KeepEntity` (2) this native only guarantees that the ***server*** will not delete the entity, client requests to delete the entity will still work perfectly fine.
|
|
2179
2180
|
* @param entity The entity to set the orphan mode of
|
|
2180
2181
|
* @param orphanMode The mode that the server should use for determining if an entity should be removed.
|
|
2181
2182
|
*/
|