Skip to content
Gregor Steiner edited this page May 6, 2014 · 1 revision

Client

Block()

  • Return value: Block block
  • Get the Block at specified coordinates

LocalPlayer()

  • Return value: Player localplayer
  • Get your local player object

ScrH()

  • Return value: Number height
  • Get the screen height

ScrW()

  • Return value: Number width
  • Get the screen width

World()

  • Return value: World world
  • Get the world that the local player is currently in

Shared

FindMetaTable(String meta)

  • Return value: Table table
  • Returns the meta table for the given type

IsAngle(Angle angle)

  • Return value: Boolean angle
  • Check if the argument is an angle

IsBlock(arg)

  • Return value: Boolean block
  • Returns if the argument is a block

IsBool(arg)

  • Return value: Boolean bool
  • Returns if the argument is a bool

IsFunction(arg)

  • Return value: Boolean function
  • Returns if the argument is a function

IsNumber(arg)

  • Return value: Boolean number
  • Returns if the argument is a number

IsString(arg)

  • Return value: Boolean string
  • Returns if the argument is a string

IsTable(arg)

  • Return value: Boolean table
  • Returns if the argument is a table

IsThread(arg)

  • Return value: Boolean thread
  • Returns if the argument is a thread

IsVector(Vector vec)

  • Return value: Boolean vec
  • Check if the argument is an vector

Server

World(Number dimension)

  • Return value: World world
  • Get the world for the given dimensionID
Clone this wiki locally