Postado Junho 23, 2015 10 anos Olá... Gostaria de saber como fazer para, ao pisar no piso do templo, mostrar quantos itens há no depot. Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Postado Junho 23, 2015 10 anos function onStepIn(cid, item, pos) if isPlayer (cid) then doPlayerSendTextMessage(cid,16,(getPlayerDepotItems(cid,getPlayerTown(cid))-1)) end return true end Editado Junho 23, 2015 10 anos por elton123 (veja o histórico de edições)
Postado Junho 23, 2015 10 anos Autor function onStepIn(cid, item, pos) if isPlayer (cid) then doPlayerSendTextMessage(cid,16,(getPlayerDepotItems(cid,getPlayerTown(cid))-1)) end return true end Tentei modificar e não deu muito certo.. Poderia me ajudar denovo? function onStepIn(cid, item, pos) if isPlayer (cid) then doPlayerSendTextMessage(cid,MESSAGE_STATUS_DEFAULT,("Your depot contains", getPlayerDepotItems(cid,getPlayerTown(cid), "item.")-1)) end return true end Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Postado Junho 23, 2015 10 anos Solução local cidadeid = 1 function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition) doPlayerSendTextMessage(cid, 27, "You have a total of: ".. getPlayerDepotItems(cid, cidadeid) - 1 .." items in your depot") return true end Se quiser sua dúvida tirada, mande PM com os links, e não com a dúvida (outros podem ter a mesma dúvida, e o fórum serve para ser usado). Tópicos: [FAQ] BBCODE [LIB] Constant [RME] Administrando bordas. [TALK] Broadcast Editável. [TALK] Sugest. [TALK] Checkpoint. [MOVE] Pântano pegajoso. [ACTION] Piggy Bank. (Cassino). [GLOBAL] Uptime Ad. [C0DE] Consertando 'Invalid Password' [PROGRAM] Quest Maker
Postado Junho 23, 2015 10 anos vc queria assim? function onStepIn(cid, item, pos) if isPlayer (cid) then doPlayerSendTextMessage(cid,16,"Your depot contains "..(getPlayerDepotItems(cid,getPlayerTown(cid))-1).."") end return true end
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.