doPlayerSendTextMessage(config.data[2], 24, 'Game Over Tetris!')
doPlayerSendTextMessage(config.data[2], 22, 'Game Over Tetris!')
[14:54:48.318] [Error - Action Interface]
[14:54:48.318] In a timer event called from:
[14:54:48.318] data/actions/scripts/tetris.lua: onUse
[14:54:48.318] Description:
[14:54:48.318] (luaGetThingFromPos) Tile not found
Now lets config ^^ [code said:local config = {
uppos = {x=1003,y=1010,z=7},
dowpos = {x=1009,y=1020,z=7},
playerpos = {x=1011,y=1017,z=7},
block_start={x=1006,y=1011,z=7},
exit={x=1011,y=1014,z=7},
delay=10,
item=1739,
effects = {
mark=3,
burn=15,
},
blocks = {
[/code]Photo
(Below the wall [pedestal, yellow wall] you must put an non-walkable sqm)
Red - Up-left positionVideo:
Blue - Down-right position
Green - Position where player play
Pink - Where all block are created
Brown - Where player go when it lose
Light blue - 10 = 1 second to piece move
Black - Block itemid
Laranja - Effects (set false to dont show any effect)
Grey - if you want create new types of blocks have fun
Set switch to actionid 2387
If you want download the map
Versão 2.0
Look ma sir, thats not working with me! Where do i put (LETS CONFIG NOW ^^^^^^^) howdy! I put this things where?!
local config = {
uppos = {x=1003,y=1010,z=7},
dowpos = {x=1009,y=1020,z=7},
playerpos = {x=1011,y=1017,z=7},
block_start={x=1006,y=1011,z=7},
exit={x=1011,y=1014,z=7},
delay=10,
item=1739,
effects = {
mark=3,
burn=15,
},
blocks = {