Skip to main content

SWAP_NEAREST_BUILDING_MODEL

Game.SwapNearestBuildingModelHash0x5E077484
Usage
Game.SwapNearestBuildingModel(x, y, z, radius, oldModel, newModel)

Find the nearest building to a point within a radius and change it's model.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • radiusnumberfloat
  • oldModelintegerint
  • newModelintegerint

Returns

Nothing

Original declaration
// 0x5E077484
void SWAP_NEAREST_BUILDING_MODEL(float x, float y, float z, float radius, int oldModel, int newModel);