gta.loadCOL: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|type = function
|type = function
|name = gta.loadCOL
|name = gta.loadCOL
|parameters = stream data, int modelId
|parameters = stream data, int island
|parameter1 = stream data The stream containing the collision data.
|parameter1 = stream data The stream containing the collision data.
|parameter2 = int modelId The model ID.
|parameter2 = int island The island that the collision loads on
|usage = load a custom COL collision file, and replace an existing model's collision with it.
|usage = load a custom COL collision file, and replace an existing collision with it.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Latest revision as of 14:33, 24 October 2021

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void gta.loadCOL(stream data, int island)

The gta.loadCOL function is used to load a custom COL collision file, and replace an existing collision with it.

Parameters

1) stream data The stream containing the collision data.
2) int island The island that the collision loads on.

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.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.game