natives.CREATE OBJECT NO OFFSET: 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 1: | Line 1: | ||
{{ScriptItem | {{ScriptItem | ||
|endpoint = client | |endpoint = client | ||
| Line 25: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.CREATE_OBJECT_NO_OFFSET | |name = natives.CREATE_OBJECT_NO_OFFSET | ||
|parameters = Vec3 position | |parameters = int model, Vec3 position | ||
|parameter1 = Vec3 position | |parameter1 = int model Model identifier. | ||
|usage = | |parameter2 = Vec3 position Race position. | ||
|usage = spawns an object at exact coordinates without automatic ground placement | |||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Latest revision as of 11:46, 13 June 2026
natives.CREATE_OBJECT_NO_OFFSET
Signature: void natives.CREATE_OBJECT_NO_OFFSET(int model, Vec3 position)
Usage: spawns an object at exact coordinates without automatic ground placement
Parameters
- int model Model identifier.
- Vec3 position Race position.
Return
void
On failure: void