natives.ADD HOSPITAL RESTART: Difference between revisions

From GTA Connected
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 heading
|parameters = Vec3 position, float entity
|parameter1 = Vec3 position World position (Vector3).
|parameter1 = Vec3 position World coordinates (x, y, z).
|parameter2 = float heading Heading angle in degrees.
|parameter2 = float entity Entity handle.
|usage = Add a hospital respawn point at the specified position.
|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

natives.ADD_HOSPITAL_RESTART

Signature: void natives.ADD_HOSPITAL_RESTART(Vec3 position, float entity)

Usage: registers a hospital respawn point at this position and heading

Parameters

Vec3 position World coordinates (x, y, z).
float entity Entity handle.

Return

void

On failure: void