# SetSignText

TIP

  • setSignText(<world>, <x>, <y>, <z>, <text>)
  • Sets the items of a container block, <text> must be an array with the format of:
0 => 'First Line'   (Optional)
1 => 'Second Line'  (Optional)
2 => 'Third Line'   (Optional)
3 => 'Fourth Line'  (Optional)

# Parameters

  • <world> The world the block is in as string
  • <x> The X coordinate for the block as int or float
  • <y> The Y coordinate for the block as int or float
  • <z> The Z coordinate for the block as int or float
  • <text> The text to set to the sign as array

# Example

1: $signText$ = array(1 => 'Second Line', 3 => 'Fourth Line')
2: setSignText('world', 1025, 67, 942, $signText$)