Garry's Mod Wiki

Garry's Mod Wiki

  number, number DTileLayout:FindFreeTile( number x, number y, number w, number h )

Description

This is used internally - although you're able to use it you probably shouldn't.

Finds the coordinates of the first group of free tiles that fit the given size.

Arguments

1 number x
The x coordinate to start looking from.
2 number y
The y coordinate to start looking from.
3 number w
The needed width.
4 number h
The needed height.

Returns

1 number
The x coordinate of the found available space.
2 number
The y coordinate of the found available space.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...