This script will spawn a Building structure of your choice wherever you want to.
Clarification
UID numbers should be in the format - UID 184467####4187468629; (# replace with random number)
DefinitionType - The definition entered between the “” can be obtained from the decompiled names file.
NewThing Building; Player 4; UID 18446769534187468629; DefinitionType "BUILDING_BEACHHUT"; ScriptName NULL; ScriptData "NULL"; ThingGamePersistent FALSE; ThingLevelPersistent FALSE; StartCTCPhysicsStandard; PositionX 33.648926; PositionY 72.062988; PositionZ 34.963562; RHSetForwardX 0.97029; RHSetForwardY 0.241921; RHSetForwardZ 0.0; RHSetUpX -0.000167; RHSetUpY 0.00067; RHSetUpZ 0.999994; EndCTCPhysicsStandard; StartCTCEditor; EndCTCEditor; StartCTCVillageMember; VillageUID 0; EndCTCVillageMember; StartCTCBuyableHouse; WifeLivingHere 0; OwnedByPlayer FALSE; IsScripted FALSE; Rented FALSE; DayNextRentIsDue 2147483647; CurrentDressLevel 0; VirtualMoneyBags 0; EndCTCBuyableHouse; Health 15000.0; EndThing;