gta.createBuilding: Difference between revisions
m (Mex moved page createBuilding to gta.createBuilding) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = gta.createBuilding | ||
|side = shared | |||
|type = function | |type = function | ||
| | |games = iii vc sa iv | ||
| | |desc = create a building for the local client | ||
|arg1 = int model The model ID for the building. | |||
| | |return = Building An object representing the building that was created | ||
| | |freturn = null n/a | ||
|sinceSS = 1.1.0 | |||
| | |sinceCS = 1.1.0 | ||
| | |previousName = game.createBuilding 1.0.71 | ||
| | |||
}} | }} |
Latest revision as of 20:36, 19 November 2022
Function
Server and Client
Online and Offline
Building gta.createBuilding(int model)
Parameters
1) | int | model | The model ID for the building. |
Return
Building | An object representing the building that was created. |
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
getBuildingCount
getBuildings
gta.createBuilding
building.children
building.clearExistsFor
building.dimension
building.existsFor
building.getData
building.getRotation
building.heading
building.id
building.interior
building.isCreatedFor
building.isLocal
building.isOwner
building.isSyncer
building.isType
building.matrix
building.modelIndex
building.name
building.netFlags
building.parent
building.position
building.removeAllData
building.removeData
building.resource
building.rotation
building.setData
building.setExistsFor
building.setRotation
building.setSyncer
building.streamInDistance
building.streamOutDistance
building.syncer
building.syncerId
building.type
Client Related
getBuildingCount
getBuildings
gta.createBuilding
gta.swapNearestBuildingModel
gta.undoBuildingSwaps