gta.swapNearestBuildingModel: Difference between revisions

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

Revision as of 07:23, 9 July 2022

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

Available since Client 1.0.0

void gta.swapNearestBuildingModel(Vec3 position, Float range, String oldModelName, String newModelName)

The gta.swapNearestBuildingModel function is used to swaps a building model for another.

Parameters

1) Vec3 position .
2) Float range .
3) String newModelName .

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 getBuildingCount
icon-iii.png icon-vc.png icon-sa.png getBuildings
icon-iii.png icon-vc.png icon-sa.png gta.createBuilding
icon-iii.png icon-vc.png icon-sa.png gta.swapNearestBuildingModel
icon-iii.png icon-vc.png icon-sa.png gta.undoBuildingSwaps