Ir para conteúdo
  • 0

[Resolvido] erro script [LIB]


carlinhoo0ww

Pergunta

galera nao está funcionando o script do tps do treines alguem pode ajudar ? PLMDS

DOUREP+

 

Spoiler

    trainers = {
    [1] = {x = 2888, y = 1398, z = 7},
    [2] = {x = 2871, y = 1455, z = 7},
    [3] = {x = 2888, y = 1409, z = 7},
    [4] = {x = 2888, y = 1420, z = 7},
    [5] = {x = 2888, y = 1431, z = 7},
    [6] = {x = 2888, y = 1442, z = 7},
    [7] = {x = 2888, y = 1453, z = 7},
    [8] = {x = 2888, y = 1464, z = 7},
    [9] = {x = 2888, y = 1475, z = 7},
    [10] = {x = 2888, y = 1486, z = 7},
    [11] = {x = 2888, y = 1497, z = 7},
    [12] = {x = 2888, y = 1508, z = 7},
    [13] = {x = 2888, y = 1519, z = 7},
    [14] = {x = 2888, y = 1530, z = 7},
    [15] = {x = 2888, y = 1541, z = 7},
    [16] = {x = 2888, y = 1552, z = 7},
    [17] = {x = 2888, y = 1563, z = 7},
    [18] = {x = 2888, y = 1574, z = 7},
    [19] = {x = 2888, y = 1585, z = 7},
    [20] = {x = 2888, y = 1596, z = 7},
    [21] = {x = 2888, y = 1607, z = 7},
    [22] = {x = 2888, y = 1618, z = 7},
    [23] = {x = 2888, y = 1629, z = 7},
    [24] = {x = 2888, y = 1640, z = 7},
    [25] = {x = 2888, y = 1651, z = 7},
    [26] = {x = 2888, y = 1662, z = 7},
    [27] = {x = 2888, y = 1673, z = 7},
    [28] = {x = 2888, y = 1684, z = 7},
    [29] = {x = 2888, y = 1695, z = 7},
    [30] = {x = 2902, y = 1398, z = 7},
    [31] = {x = 2902, y = 1409, z = 7},
    [32] = {x = 2902, y = 1420, z = 7},
    [33] = {x = 2902, y = 1431, z = 7},
    [34] = {x = 2902, y = 1442, z = 7},
    [35] = {x = 2902, y = 1453, z = 7},
    [36] = {x = 2902, y = 1464, z = 7},
    [37] = {x = 2902, y = 1475, z = 7},
    [38] = {x = 2902, y = 1486, z = 7},
    [39] = {x = 2902, y = 1497, z = 7},
    [40] = {x = 2902, y = 1508, z = 7},
    [41] = {x = 2902, y = 1519, z = 7},
    [42] = {x = 2902, y = 1530, z = 7},
    [43] = {x = 2902, y = 1541, z = 7},
    [44] = {x = 2902, y = 1552, z = 7},
    [45] = {x = 2902, y = 1563, z = 7},
    [46] = {x = 2902, y = 1574, z = 7},
    [47] = {x = 2902, y = 1585, z = 7},
    [48] = {x = 2902, y = 1596, z = 7},
    [49] = {x = 2902, y = 1607, z = 7},
    [50] = {x = 2902, y = 1618, z = 7},
    [51] = {x = 2902, y = 1629, z = 7},
    [52] = {x = 2902, y = 1640, z = 7},
    [53] = {x = 2902, y = 1651, z = 7},
    [54] = {x = 2902, y = 1662, z = 7},
    [55] = {x = 2902, y = 1673, z = 7},
    [56] = {x = 2902, y = 1684, z = 7},
    [57] = {x = 2902, y = 1695, z = 7},
    [58] = {x = 2916, y = 1398, z = 7},
    [59] = {x = 2916, y = 1409, z = 7},
    [60] = {x = 2916, y = 1420, z = 7},
    [61] = {x = 2916, y = 1431, z = 7},
    [62] = {x = 2916, y = 1442, z = 7},
    [63] = {x = 2916, y = 1453, z = 7},
    [64] = {x = 2916, y = 1464, z = 7},
    [65] = {x = 2916, y = 1475, z = 7},
    [66] = {x = 2916, y = 1486, z = 7},
    [67] = {x = 2916, y = 1497, z = 7},
    [68] = {x = 2916, y = 1508, z = 7},
    [69] = {x = 2916, y = 1519, z = 7},
    [70] = {x = 2916, y = 1530, z = 7},
    [71] = {x = 2916, y = 1541, z = 7},
    [72] = {x = 2916, y = 1552, z = 7},
    [73] = {x = 2916, y = 1563, z = 7},
    [74] = {x = 2916, y = 1574, z = 7},
    [75] = {x = 2916, y = 1585, z = 7},
    [76] = {x = 2916, y = 1596, z = 7},
    [77] = {x = 2916, y = 1607, z = 7},
    [78] = {x = 2916, y = 1618, z = 7},
    [79] = {x = 2916, y = 1629, z = 7},
    [80] = {x = 2916, y = 1640, z = 7},
    [81] = {x = 2916, y = 1651, z = 7},
    [82] = {x = 2916, y = 1662, z = 7},
    [83] = {x = 2916, y = 1673, z = 7},
    [84] = {x = 2916, y = 1684, z = 7},
    [85] = {x = 2916, y = 1695, z = 7},
    [86] = {x = 2930, y = 1398, z = 7},
    [87] = {x = 2930, y = 1409, z = 7},
    [88] = {x = 2930, y = 1420, z = 7},
    [89] = {x = 2930, y = 1431, z = 7},
    [90] = {x = 2930, y = 1442, z = 7},
    [91] = {x = 2930, y = 1453, z = 7},
    [92] = {x = 2930, y = 1464, z = 7},
    [93] = {x = 2930, y = 1475, z = 7},
    [94] = {x = 2930, y = 1486, z = 7},
    [95] = {x = 2930, y = 1497, z = 7},
    [96] = {x = 2930, y = 1508, z = 7},
    [97] = {x = 2930, y = 1519, z = 7},
    [98] = {x = 2930, y = 1530, z = 7},
    [99] = {x = 2930, y = 1541, z = 7},
    [100] = {x = 2930, y = 1552, z = 7},
    [101] = {x = 2930, y = 1563, z = 7},
    [102] = {x = 2930, y = 1574, z = 7},
    [103] = {x = 2930, y = 1585, z = 7},
    [104] = {x = 2930, y = 1596, z = 7},
    [105] = {x = 2930, y = 1607, z = 7},
    [106] = {x = 2930, y = 1618, z = 7},
    [107] = {x = 2930, y = 1629, z = 7},
    [108] = {x = 2930, y = 1640, z = 7},
    [109] = {x = 2930, y = 1651, z = 7},
    [110] = {x = 2930, y = 1662, z = 7},
    [111] = {x = 2930, y = 1673, z = 7},
    [112] = {x = 2930, y = 1684, z = 7},
    [113] = {x = 2930, y = 1695, z = 7},
    [114] = {x = 2944, y = 1398, z = 7},
    [115] = {x = 2944, y = 1409, z = 7},
    [116] = {x = 2944, y = 1420, z = 7},
    [117] = {x = 2944, y = 1431, z = 7},
    [118] = {x = 2944, y = 1442, z = 7},
    [119] = {x = 2944, y = 1453, z = 7},
    [120] = {x = 2944, y = 1464, z = 7},
    [121] = {x = 2944, y = 1475, z = 7},
    [122] = {x = 2944, y = 1486, z = 7},
    [123] = {x = 2944, y = 1497, z = 7},
    [124] = {x = 2944, y = 1508, z = 7},
    [125] = {x = 2944, y = 1519, z = 7},
    [126] = {x = 2944, y = 1530, z = 7},
    [127] = {x = 2944, y = 1541, z = 7},
    [128] = {x = 2944, y = 1552, z = 7},
    [129] = {x = 2944, y = 1563, z = 7},
    [130] = {x = 2944, y = 1574, z = 7},
    [131] = {x = 2944, y = 1585, z = 7},
    [132] = {x = 2944, y = 1596, z = 7},
    [133] = {x = 2944, y = 1607, z = 7},
    [134] = {x = 2944, y = 1618, z = 7},
    [135] = {x = 2944, y = 1629, z = 7},
    [136] = {x = 2944, y = 1640, z = 7},
    [137] = {x = 2944, y = 1651, z = 7},
    [138] = {x = 2944, y = 1662, z = 7},
    [139] = {x = 2944, y = 1673, z = 7},
    [140] = {x = 2944, y = 1684, z = 7},
    [141] = {x = 2944, y = 1695, z = 7},
    [142] = {x = 2958, y = 1398, z = 7},
    [143] = {x = 2958, y = 1409, z = 7},
    [144] = {x = 2958, y = 1420, z = 7},
    [145] = {x = 2958, y = 1431, z = 7},
    [146] = {x = 2958, y = 1442, z = 7},
    [147] = {x = 2958, y = 1453, z = 7},
    [148] = {x = 2958, y = 1464, z = 7},
    [149] = {x = 2958, y = 1475, z = 7},
    [150] = {x = 2958, y = 1486, z = 7},
    [151] = {x = 2958, y = 1497, z = 7},
    [152] = {x = 2958, y = 1508, z = 7},
    [153] = {x = 2958, y = 1519, z = 7},
    [154] = {x = 2958, y = 1530, z = 7},
    [155] = {x = 2958, y = 1541, z = 7},
    [156] = {x = 2958, y = 1552, z = 7},
    [157] = {x = 2958, y = 1563, z = 7},
    [158] = {x = 2958, y = 1574, z = 7},
    [159] = {x = 2958, y = 1585, z = 7},
    [160] = {x = 2958, y = 1596, z = 7},
    [161] = {x = 2958, y = 1607, z = 7},
    [162] = {x = 2958, y = 1618, z = 7},
    [163] = {x = 2958, y = 1629, z = 7},
    [164] = {x = 2958, y = 1640, z = 7},
    [165] = {x = 2958, y = 1651, z = 7},
    [166] = {x = 2958, y = 1662, z = 7},
    [167] = {x = 2958, y = 1673, z = 7},
    [168] = {x = 2958, y = 1684, z = 7},
    [169] = {x = 2958, y = 1695, z = 7},
    [170] = {x = 2972, y = 1398, z = 7},
    [171] = {x = 2972, y = 1409, z = 7},
    [172] = {x = 2972, y = 1420, z = 7},
    [173] = {x = 2972, y = 1431, z = 7},
    [174] = {x = 2972, y = 1442, z = 7},
    [175] = {x = 2972, y = 1453, z = 7},
    [176] = {x = 2972, y = 1464, z = 7},
    [177] = {x = 2972, y = 1475, z = 7},
    [178] = {x = 2972, y = 1486, z = 7},
    [179] = {x = 2972, y = 1497, z = 7},
    [180] = {x = 2972, y = 1508, z = 7},
    [181] = {x = 2972, y = 1519, z = 7},
    [182] = {x = 2972, y = 1530, z = 7},
    [183] = {x = 2972, y = 1541, z = 7},
    [184] = {x = 2972, y = 1552, z = 7},
    [185] = {x = 2972, y = 1563, z = 7},
    [186] = {x = 2972, y = 1574, z = 7},
    [187] = {x = 2972, y = 1585, z = 7},
    [188] = {x = 2972, y = 1596, z = 7},
    [189] = {x = 2972, y = 1607, z = 7},
    [190] = {x = 2972, y = 1618, z = 7},
    [191] = {x = 2972, y = 1629, z = 7},
    [192] = {x = 2972, y = 1640, z = 7},
    [193] = {x = 2972, y = 1651, z = 7},
    [194] = {x = 2972, y = 1662, z = 7},
    [195] = {x = 2972, y = 1673, z = 7},
    [196] = {x = 2972, y = 1684, z = 7},
    [197] = {x = 2972, y = 1695, z = 7},
    [198] = {x = 2986, y = 1398, z = 7},
    [199] = {x = 2986, y = 1409, z = 7},
    [200] = {x = 2986, y = 1420, z = 7},
    [201] = {x = 2986, y = 1431, z = 7},
    [202] = {x = 2986, y = 1442, z = 7},
    [203] = {x = 2986, y = 1453, z = 7},
    [204] = {x = 2986, y = 1464, z = 7},
    [205] = {x = 2986, y = 1475, z = 7},
    [206] = {x = 2986, y = 1486, z = 7},
    [207] = {x = 2986, y = 1497, z = 7},
    [208] = {x = 2986, y = 1508, z = 7},
    [209] = {x = 2986, y = 1519, z = 7},
    [210] = {x = 2986, y = 1530, z = 7},
    [211] = {x = 2986, y = 1541, z = 7},
    [212] = {x = 2986, y = 1552, z = 7},
    [213] = {x = 2986, y = 1563, z = 7},
    [214] = {x = 2986, y = 1574, z = 7},
    [215] = {x = 2986, y = 1585, z = 7},
    [216] = {x = 2986, y = 1596, z = 7},
    [217] = {x = 2986, y = 1607, z = 7},
    [218] = {x = 2986, y = 1618, z = 7},
    [219] = {x = 2986, y = 1629, z = 7},
    [220] = {x = 2986, y = 1640, z = 7},
    [221] = {x = 2986, y = 1651, z = 7},
    [222] = {x = 2986, y = 1662, z = 7},
    [223] = {x = 2986, y = 1673, z = 7},
    [224] = {x = 2986, y = 1684, z = 7},
    [225] = {x = 2986, y = 1695, z = 7},
    }

 

 


 

Spoiler

 

    function onStepIn(cid, item, position, fromPosition)
    for i=1, table.maxn(trainers) do
    local trainer = trainers
    local position = {x=trainer.x,y=trainer.y,z=trainer.z,stackpos=255}
    local thing = getThingFromPos(position)
    if (thing.itemid == 0) then
    doTeleportThing(cid, position)
    doSendMagicEffect(position, 10)
    return true
    end
    end
    doPlayerSendCancel(cid, "The room trainers is full.")
    doTeleportThing(cid, fromPosition, false)
    doSendMagicEffect(fromPosition, 2)
    return true
    end


 

 

Link para o comentário
Compartilhar em outros sites

2 respostass a esta questão

Posts Recomendados

Visitante
Este tópico está impedido de receber novos posts.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...