gta.undoBuildingSwaps: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |games = iii, vc, sa |endpoint = client |type = function |name = gta.undoBuildingSwaps |parameters = void |usage = resets all swapped building models to default (...")
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|games = iii, vc, sa
|name = gta.undoBuildingSwaps
|endpoint = client
|side = client
|type = function
|type = function
|name = gta.undoBuildingSwaps
|games = iii vc sa
|parameters = void
|desc = resets all swapped building models to default (via [[gta.swapNearestBuildingModel|gta.swapNearestBuildingModel]])
|usage = resets all swapped building models to default (via [[gta.swapNearestBuildingModel|gta.swapNearestBuildingModel]])
|return = void
|return1 = void
|freturn = null
|returnFail1 = null
}}
}}

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.undoBuildingSwaps(void)

The gta.undoBuildingSwaps function is used to resets all swapped building models to default (via gta.swapNearestBuildingModel).

Parameters

void This function doesn't take any parameters.

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