gta.loadCOL: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem
|endpoint = client
|endpoint = client
|games = iii, vc
|type = function
|type = function
|name = gta.loadCOL
|name = gta.loadCOL

Latest revision as of 09:25, 8 January 2025

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