gta.loadDFF: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|name = gta.loadDFF
|side = client
|type = function
|type = function
|name = gta.loadDFF
|games = iii vc sa
|parameters = int modelId, stream data
|desc = load a custom DFF model, and replace an existing model slot with it.
|parameter1 = int modelId The model ID.
|arg1 = int modelId The model ID.
|parameter2 = stream data The stream containing the model data.
|arg2 = stream data The stream containing the model data.
|usage = load a custom DFF model, and replace an existing model slot with it.
|return = void
|return1 = void
|freturn = void
|returnFail1 = void
}}
}}

Latest revision as of 20:36, 19 November 2022

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

Available since Client 1.0.0

void gta.loadDFF(int modelId, stream data)

The gta.loadDFF function is used to load a custom DFF model, and replace an existing model slot with it.

Parameters

1) int modelId The model ID.
2) stream data The stream containing the model data.

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