gta.swapNearestBuildingModel: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = shared |type = function |name = gta.swapNearestBuildingModel |parameters = Vec3 position, Float range, String oldModelName, String newModelName |param...")
(No difference)

Revision as of 07:22, 9 July 2022

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

Available since Server 1.0.0, 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

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png getBuildingCount
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getBuildings
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.createBuilding

icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.children
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.clearExistsFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.dimension
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.existsFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.getData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.getRotation
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.heading
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.id
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.interior
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.isCreatedFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.isLocal
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.isOwner
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.isSyncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.isType
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.matrix
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.modelIndex
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.name
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.netFlags
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.parent
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.position
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.removeAllData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.removeData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.resource
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.rotation
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.setData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.setExistsFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.setRotation
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.setSyncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.streamInDistance
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.streamOutDistance
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.syncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.syncerId
icon-iii.png icon-vc.png icon-sa.png icon-iv.png building.type


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