natives.ADD HOSPITAL RESTART: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 4: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.ADD_HOSPITAL_RESTART | |name = natives.ADD_HOSPITAL_RESTART | ||
|parameters = Vec3 position, float | |parameters = Vec3 position, float entity | ||
|parameter1 = Vec3 position World | |parameter1 = Vec3 position World coordinates (x, y, z). | ||
|parameter2 = float | |parameter2 = float entity Entity handle. | ||
|usage = | |usage = registers a hospital respawn point at this position and heading | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 17:19, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.ADD_HOSPITAL_RESTART(Vec3 position, float entity)
The natives.ADD_HOSPITAL_RESTART function is used to registers a hospital respawn point at this position and heading.
Parameters
| 1) | Vec3 | position | World coordinates (x, y, z). |
| 2) | float | entity | Entity handle. |
Return
| void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.