gta.loadCOL: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 5: Line 5:
|parameters = stream data, int modelId
|parameters = stream data, int modelId
|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
}}
}}

Revision as of 07:10, 30 December 2020

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 modelId)

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