Postado Janeiro 10, 2017 8 anos Galera, to tentando fazer um script de action, o player clica em X item, e acontece o que o script ta pedindo mas ta dando erro... Script: Mostrar conteúdo oculto function onUse(cid, item, frompos, item2, topos) if getPlayerGroupId() == 1 then doPlayerSetGroupId(cid, 6) end end Erro: Mostrar conteúdo oculto [23:26:35.812] [Error - Action Interface] [23:26:35.815] data/actions/scripts/gb.lua:onUse [23:26:35.818] Description: [23:26:35.819] (LuaInterface::internalGetPlayerInfo) Player not found when requesting player info #17 Alguém da uma luz por favor? GitHub: https://github.com/s3kk Conteúdo: [SERVER] Heromassa[GESIOR] Gesior 2012 modificado por Sekk[GESIOR] Shop Addons & Mounts - TFS 1.x[GESIOR] Outfitter para Characters e Rank[SISTEMA] Castle 24h[TALKACTION] Multi Element Wand[ACTION] Multi Elemental Arrow & Shield[PROGRAMAÇÃO] Compilar TFS 0.4 no Linux[PROGRAMAÇÃO] Compilando TFS 0.4 no MSVC(x64 e x32) [INFRAESTRUTURA] Configuração COMPLETA Google VM + Tibia 11.x
Postado Janeiro 10, 2017 8 anos Solução function onUse(cid, item, frompos, item2, topos) if getPlayerGroupId(cid) == 1 then doPlayerSetGroupId(cid, 6) end end Tenta assim 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 Janeiro 10, 2017 8 anos Autor @moviebr nossa, eu nem vi que tava sem o cid uahauahauh vlw ai rep+ GitHub: https://github.com/s3kk Conteúdo: [SERVER] Heromassa[GESIOR] Gesior 2012 modificado por Sekk[GESIOR] Shop Addons & Mounts - TFS 1.x[GESIOR] Outfitter para Characters e Rank[SISTEMA] Castle 24h[TALKACTION] Multi Element Wand[ACTION] Multi Elemental Arrow & Shield[PROGRAMAÇÃO] Compilar TFS 0.4 no Linux[PROGRAMAÇÃO] Compilando TFS 0.4 no MSVC(x64 e x32) [INFRAESTRUTURA] Configuração COMPLETA Google VM + Tibia 11.x
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.