gta.loadCOL: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
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 island The island that the collision loads on  
|parameter2 = int island The island that the collision loads on  

Revision as of 14:33, 24 October 2021

gta.loadCOL

Signature: void gta.loadCOL(stream data, int island)

Usage: load a custom COL collision file, and replace an existing collision with it.

Parameters

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

Return

void

On failure: void