gta.swapNearestBuildingModel: Difference between revisions
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 edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ScriptItem | {{ScriptItem | ||
|endpoint = | |games = iii, vc, sa | ||
|endpoint = client | |||
|type = function | |type = function | ||
|name = gta.swapNearestBuildingModel | |name = gta.swapNearestBuildingModel | ||
Line 7: | Line 8: | ||
|parameter2 = Float range | |parameter2 = Float range | ||
|parameter3 = String oldModelName | |parameter3 = String oldModelName | ||
| | |parameter4 = String newModelName | ||
|usage = swaps a building model for another | |usage = swaps a building model for another | ||
|return1 = void | |return1 = void | ||
|returnFail1 = null n/a | |returnFail1 = null n/a | ||
}} | }} |
Latest revision as of 22:26, 17 November 2022
Function
Client Only
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 | oldModelName | . |
4) | 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
getBuildingCount
getBuildings
gta.createBuilding
gta.swapNearestBuildingModel
gta.undoBuildingSwaps