sm.garage.getGarage
Gets a already existing garage returns nil if it does not exist.
Kind: Function
Environments: Game
Game
sm.garage.getGarage( garageId )
Parameters:
| Name | Type | Description |
|---|---|---|
garageId |
uint | The id of the garage to get |
Returns:
| Name | Type | Description |
|---|---|---|
Garage |
Garage | The Garage object |