natives.CREATE SCRIPT ROADBLOCK: 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 5: | Line 5: | ||
|name = natives.CREATE_SCRIPT_ROADBLOCK | |name = natives.CREATE_SCRIPT_ROADBLOCK | ||
|parameters = Vec3 from, Vec3 to | |parameters = Vec3 from, Vec3 to | ||
|parameter1 = Vec3 from Starting position | |parameter1 = Vec3 from Starting position. | ||
|parameter2 = Vec3 to Ending position | |parameter2 = Vec3 to Ending position. | ||
|usage = | |usage = creates a roadblock barrier between two positions | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 11:47, 13 June 2026
natives.CREATE_SCRIPT_ROADBLOCK
Signature: void natives.CREATE_SCRIPT_ROADBLOCK(Vec3 from, Vec3 to)
Usage: creates a roadblock barrier between two positions
Parameters
- Vec3 from Starting position.
- Vec3 to Ending position.
Return
void
On failure: void