Postado Maio 20, 2016 8 anos Bom tenho essa script e não estou conseguindo entender ela e de 1 piso q marca pontos quando player sobem em cima. movements/scripts nome_arquivo.lua local timeToAddPoints = 1 -- de quanto em quanto tempo será adicionado um ponto. addPoints = {} local function doAddPoints (cid) if not isPlayer(cid) then addPoints[cid] = nil return true end setPlayerStorageValue (cid, 87954, getPlayerStorageValue (cid, 87954) + 1) doCreatureSay (cid, getCreatureName(cid).."["..getPlayerStorageValue (cid, 87954).."]") return true end function onStepIn(cid, item, position, fromPosition) if isPlayer(cid) then addPoints[cid] = addEvent(doAddPoints, timeToAddPoints * 1000, cid) end return true end function onStepOut(cid) if isPlayer(cid) then stopEvent(addPoints[cid]) end return true end movements.xml <movevent type="StepIn" actionid="actiond_id" event="script" value="nome_arquivo.lua" /> <movevent type="StepOut" actionid="actiond_id" event="script" value="nome_arquivo.lua" /> +++++++REP
Postado Maio 21, 2016 8 anos Esta é uma mensagem automática! Este tópico foi movido para a área correta.Pedimos que você leia as regras do fórum. Spoiler This is an automated message! This topic has been moved to the correct area.Please read the forum rules. Preste atenção! Sprite não é a mesma coisa que Script, acho que ninguém vai entender sua dúvida, seja mais esclarecedor! Troque o título do tópico para algo condizente ao conteúdo do tópico! Do jeito que está, ninguém vai poder te ajudar.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.