-
Total de itens
831 -
Registro em
-
Última visita
-
Dias Ganhos
69
Posts postados por Marshmello
-
-
@StrikersBR12 Não sei se vai funfar não mais testa ae
function onThink(cid, interval, lastExecution) doReloadInfo(RELOAD_NPCS) return true end
<globalevent name="autoReload" interval="500" event="script" value="reloadnpcs.lua"/>
-
Mande o script que vc esta usando no bau PorFavor
-
Salve to com uma duvida, fiz um codigo nas sources para que puxa os nomes dos pokemons de uma X tabela Porém ela só esta puxando numeros ao inves dos Nome , alguem pode me explicar o Porque?
Codigo Feito
std::string IOLoginData::getPokes(const std::string& name) const { Database* db = Database::getInstance(); DBQuery query; query << "SELECT `pokes` FROM `players` WHERE `name` " << db->getStringComparison() << db->escapeString(name) << " AND `deleted` = 0 ;"; DBResult* result; if (!(result = db->storeQuery(query.str()))) return false; const uint32_t pPokes = result->getDataInt("pokes"); std::stringstream ret; ret << pPokes; result->free(); return ret.str(); }
-
Em LuaScript.cpp Em baixo de
int32_t LuaScriptInterface::luaDoDecayItem(lua_State* L) { //doDecayItem(uid) //Note: to stop decay set decayTo = 0 in items.xml ScriptEnviroment* env = getEnv(); if(Item* item = env->getItemByUID(popNumber(L))) { g_game.startDecay(item); lua_pushboolean(L, true); } else { errorEx(getError(LUA_ERROR_ITEM_NOT_FOUND)); lua_pushboolean(L, false); } return 1; }
Adicione
int32_t LuaScriptInterface::luaGetThingFromPos(lua_State* L) { //getThingFromPos(pos[, displayError = true]) //Note: // stackpos = 255- top thing (movable item or creature) // stackpos = 254- magic field // stackpos = 253- top creature bool displayError = true; if(lua_gettop(L) > 1) displayError = popNumber(L); PositionEx pos; popPosition(L, pos); ScriptEnviroment* env = getEnv(); Thing* thing = NULL; if(Tile* tile = g_game.getMap()->getTile(pos)) { if(pos.stackpos == 255) { if(!(thing = tile->getTopCreature())) { Item* item = tile->getTopDownItem(); if(item && item->isMoveable()) thing = item; } } else if(pos.stackpos == 254) thing = tile->getFieldItem(); else if(pos.stackpos == 253) thing = tile->getTopCreature(); else thing = tile->__getThing(pos.stackpos); if(thing) pushThing(L, thing, env->addThing(thing)); else pushThing(L, NULL, 0); return 1; } if(displayError) errorEx(getError(LUA_ERROR_TILE_NOT_FOUND)); pushThing(L, NULL, 0); return 1; }
Continuando em LuaScript.cpp Em Baixo de
lua_register(m_luaState, "getTileInfo", LuaScriptInterface::luaGetTileInfo);
Adicione
//getThingFromPos(pos[, displayError = true]) lua_register(m_luaState, "getThingFromPos", LuaScriptInterface::luaGetThingFromPos);
Agora Vá em LuaScript.h
Em Baixo de
static int32_t luaHasItemProperty(lua_State* L);
Adicione
static int32_t luaGetThingFromPos(lua_State* L);
eo Script da porta Ficando assim
Spoilerlocal function checkStackpos(item, position)
position.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local thing = getThingFromPos(position)position.stackpos = STACKPOS_TOP_FIELD
local field = getThingFromPos(position)return (item.uid == thing.uid or thing.itemid < 100 or field.itemid == 0)
endlocal function doorEnter(cid, item, toPosition)
doTransformItem(item.uid, item.itemid + 1)
doTeleportThing(cid, toPosition)
endfunction onUse(cid, item, fromPosition, itemEx, toPosition)
if(fromPosition.x ~= CONTAINER_POSITION and isPlayerPzLocked(cid) and getTileInfo(fromPosition).protection) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
return true
endif(getItemLevelDoor(item.itemid) > 0) then
if(item.actionid == 189) then
if(not isPremium(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal gender = item.actionid - 186
if(isInArray({PLAYERSEX_FEMALE, PLAYERSEX_MALE, PLAYERSEX_GAMEMASTER}, gender)) then
if(gender ~= getPlayerSex(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal skull = item.actionid - 180
if(skull >= SKULL_NONE and skull <= SKULL_BLACK) then
if(skull ~= getCreatureSkullType(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal group = item.actionid - 150
if(group >= 0 and group < 30) then
if(group > getPlayerGroupId(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal vocation = item.actionid - 100
if(vocation >= 0 and vocation < 50) then
local playerVocationInfo = getVocationInfo(getPlayerVocation(cid))
if(playerVocationInfo.id ~= vocation and playerVocationInfo.fromVocation ~= vocation) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endif(item.actionid == 190 or (item.actionid ~= 0 and getPlayerLevel(cid) >= (item.actionid - getItemLevelDoor(item.itemid)))) then
doorEnter(cid, item, toPosition)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
endreturn true
endif(isInArray(specialDoors, item.itemid)) then
if(item.actionid == 100 or (item.actionid ~= 0 and getPlayerStorageValue(cid, item.actionid) > 0)) then
doorEnter(cid, item, toPosition)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The door seems to be sealed against unwanted intruders.")
endreturn true
endif(isInArray(keys, item.itemid)) then
if(itemEx.actionid > 0) then
if(item.actionid == itemEx.actionid and doors[itemEx.itemid] ~= nil) then
doTransformItem(itemEx.uid, doors[itemEx.itemid])
return true
enddoPlayerSendCancel(cid, "The key does not match.")
return true
endreturn false
endif(isInArray(horizontalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then
local newPosition = toPosition
newPosition.y = newPosition.y + 1
local doorPosition = fromPosition
doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local doorCreature = getThingfromPos(doorPosition)
if(doorCreature.itemid ~= 0) then
local pzDoorPosition = getTileInfo(doorPosition).protection
local pzNewPosition = getTileInfo(newPosition).protection
if((pzDoorPosition and not pzNewPosition and doorCreature.uid ~= cid) or
(not pzDoorPosition and pzNewPosition and doorCreature.uid == cid and isPlayerPzLocked(cid))) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
else
doTeleportThing(doorCreature.uid, newPosition)
if(not isInArray(closingDoors, item.itemid)) then
doTransformItem(item.uid, item.itemid - 1)
end
endreturn true
enddoTransformItem(item.uid, item.itemid - 1)
return true
endif(isInArray(verticalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then
local newPosition = toPosition
newPosition.x = newPosition.x + 1
local doorPosition = fromPosition
doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local doorCreature = getThingfromPos(doorPosition)
if(doorCreature.itemid ~= 0) then
if(getTileInfo(doorPosition).protection and not getTileInfo(newPosition).protection and doorCreature.uid ~= cid) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
else
doTeleportThing(doorCreature.uid, newPosition)
if(not isInArray(closingDoors, item.itemid)) then
doTransformItem(item.uid, item.itemid - 1)
end
endreturn true
enddoTransformItem(item.uid, item.itemid - 1)
return true
endif(doors[item.itemid] ~= nil and checkStackpos(item, fromPosition)) then
if(item.actionid == 0) then
doTransformItem(item.uid, doors[item.itemid])
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.")
endreturn true
endreturn false
end
-
1 hora atrás, Th3g1m3s disse:
@Marshmello ainda continua o erro
Vc contém a sources do Server?
-
Spoiler
local function checkStackpos(item, position)
position.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local thing = getThingFromPos(position)position.stackpos = STACKPOS_TOP_FIELD
local field = getThingFromPos(position)return (item.uid == thing.uid or thing.itemid < 100 or field.itemid == 0)
endlocal function doorEnter(cid, item, toPosition)
doTransformItem(item.uid, item.itemid + 1)
doTeleportThing(cid, toPosition)
endfunction onUse(cid, item, fromPosition, itemEx, toPosition)
if(fromPosition.x ~= CONTAINER_POSITION and isPlayerPzLocked(cid) and getTileInfo(fromPosition).protection) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
return true
endif(getItemLevelDoor(item.itemid) > 0) then
if(item.actionid == 189) then
if(not isPremium(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal gender = item.actionid - 186
if(isInArray({PLAYERSEX_FEMALE, PLAYERSEX_MALE, PLAYERSEX_GAMEMASTER}, gender)) then
if(gender ~= getPlayerSex(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal skull = item.actionid - 180
if(skull >= SKULL_NONE and skull <= SKULL_BLACK) then
if(skull ~= getCreatureSkullType(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal group = item.actionid - 150
if(group >= 0 and group < 30) then
if(group > getPlayerGroupId(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endlocal vocation = item.actionid - 100
if(vocation >= 0 and vocation < 50) then
local playerVocationInfo = getVocationInfo(getPlayerVocation(cid))
if(playerVocationInfo.id ~= vocation and playerVocationInfo.fromVocation ~= vocation) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
enddoorEnter(cid, item, toPosition)
return true
endif(item.actionid == 190 or (item.actionid ~= 0 and getPlayerLevel(cid) >= (item.actionid - getItemLevelDoor(item.itemid)))) then
doorEnter(cid, item, toPosition)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
endreturn true
endif(isInArray(specialDoors, item.itemid)) then
if(item.actionid == 100 or (item.actionid ~= 0 and getPlayerStorageValue(cid, item.actionid) > 0)) then
doorEnter(cid, item, toPosition)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The door seems to be sealed against unwanted intruders.")
endreturn true
endif(isInArray(keys, item.itemid)) then
if(itemEx.actionid > 0) then
if(item.actionid == itemEx.actionid and doors[itemEx.itemid] ~= nil) then
doTransformItem(itemEx.uid, doors[itemEx.itemid])
return true
enddoPlayerSendCancel(cid, "The key does not match.")
return true
endreturn false
endif(isInArray(horizontalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then
local newPosition = toPosition
newPosition.y = newPosition.y + 1
local doorPosition = fromPosition
doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local doorCreature = getThingPos(doorPosition)
if(doorCreature.itemid ~= 0) then
local pzDoorPosition = getTileInfo(doorPosition).protection
local pzNewPosition = getTileInfo(newPosition).protection
if((pzDoorPosition and not pzNewPosition and doorCreature.uid ~= cid) or
(not pzDoorPosition and pzNewPosition and doorCreature.uid == cid and isPlayerPzLocked(cid))) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
else
doTeleportThing(doorCreature.uid, newPosition)
if(not isInArray(closingDoors, item.itemid)) then
doTransformItem(item.uid, item.itemid - 1)
end
endreturn true
enddoTransformItem(item.uid, item.itemid - 1)
return true
endif(isInArray(verticalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then
local newPosition = toPosition
newPosition.x = newPosition.x + 1
local doorPosition = fromPosition
doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local doorCreature = getThingfromPos(doorPosition)
if(doorCreature.itemid ~= 0) then
if(getTileInfo(doorPosition).protection and not getTileInfo(newPosition).protection and doorCreature.uid ~= cid) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
else
doTeleportThing(doorCreature.uid, newPosition)
if(not isInArray(closingDoors, item.itemid)) then
doTransformItem(item.uid, item.itemid - 1)
end
endreturn true
enddoTransformItem(item.uid, item.itemid - 1)
return true
endif(doors[item.itemid] ~= nil and checkStackpos(item, fromPosition)) then
if(item.actionid == 0) then
doTransformItem(item.uid, doors[item.itemid])
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.")
endreturn true
endreturn false
end
-
Como assim n entendi?
-
Da uma olhada nesse topico meu amigo, talvez possa te ajudar
-
Salve Rapeize, ontem estava tentando fazer mais n deu muito certo, queria que quando tirasse 1 pokemon da pokebar A imagem da window Diminuir junto
EXEMPLO:
Como ta \/
Como quero que fique\/
-
Spoiler
function onUse(cid, item, frompos, item2, topos)
player1pos = {x =693, y =1336, z=8, stackpos=253} -- onde o Player1 Tem que ficar
player1 = getThingfromPos(player1pos)player2pos = {x=699, y=1333, z=8, stackpos=253} -- onde o Player2 Tem que ficar
player2 = getThingfromPos(player2pos)player3pos = {x=1179, y=1439, z=8, stackpos=253} -- onde o Player3 Tem que ficar
player3 = getThingfromPos(player3pos)
if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 then
nplayer1pos = {x=1194, y=1571, z=9} -- para onde o player 1 vai
nplayer2pos = {x=1195, y=1571, z=9}-- para onde o player 2 vai
nplayer3pos = {x=1198, y=1571, z=9}-- para onde o player 3 vai
doSendMagicEffect(player1pos,2)
doSendMagicEffect(player2pos,2)
doSendMagicEffect(player3pos,2)doTeleportThing(player1.uid,nplayer1pos)
doTeleportThing(player2.uid,nplayer2pos)
doTeleportThing(player3.uid,nplayer3pos)doSendMagicEffect(nplayer1pos,10)
doSendMagicEffect(nplayer2pos,10)
doSendMagicEffect(nplayer3pos,10)else
doPlayerSendCancel(cid,"Ainda falta player no seu devido Lugar.")
end
doTransformItem(item.uid, item.itemid == 1945 and 1946 or 1945)return 1
end -
Spoiler
local rand = math.random(-10,-10)
local monsterPos = {x = 2018, y = 892, z = 4} -- Posição que o monster irá nascer
local monsterPos2 = {x = 2013 , y = 898, z = 4} -- Posição que o monster irá nascer
local monsterPos3 = {x = 2019 , y = 904, z = 4} -- Posição que o monster irá nascer
local monsterPos4 = {x = 2025 , y = 899, z = 4} -- Posição que o monster irá nascer
local monsterPos5 = {x = 2024 , y = 895, z = 4} -- Posição que o monster irá nascer
local monsterPos6 = {x = 2013 , y = 903, z = 4} -- Posição que o monster irá nascer
local monsterPos7 = {x = 2019 , y = 899, z = 4} -- Posição que o monster irá nascer
local pokemon = "Dragonite" -- Pokemon que irá ser sumonado
local posx = 2017 -- Posição X que o Player deve estar
local posy = 899 -- Posição Y que o Player deve estar
local posz = 4 -- Posição Z que o Player deve estar
function onSay(cid, words, param)
if getGlobalStorageValue(cid,5558888) < os.time() then
if getCreaturePosition(cid).x == posx and getCreaturePosition(cid).y == posy and getCreaturePosition(cid).z == posz then -- by: garden + Edit Marshmello
if os.date("%X") >= "12:00:00" and os.date("%X") <= "23:59:00" then --- horario para poder usar
doCreateMonster(pokemon, monsterPos, false)
doCreateMonster(pokemon, monsterPos2, false)
doCreateMonster(pokemon, monsterPos3, false)
doCreateMonster(pokemon, monsterPos4, false)
doCreateMonster(pokemon, monsterPos5, false)
doCreateMonster(pokemon, monsterPos6, false)
doCreateMonster(pokemon, monsterPos7, false)
setGlobalStorageValue(5558888, os.time() + 86400)
end
end
end
end- StrikersBR12 reagiu a isso
- 1
-
Poste o script do revive pf
-
1 minuto atrás, Poke X Ice disse:
Boa noite, fiz agora esse scripts testa ai.
primeiro vamos no arquivo somefunctions, que fica localizado: servidor/data/lib/somefunctions
agora vamos criar um arquivo chamado dobleExp.lua na pasta: servidor/data/creaturescripts/script
adicione isso lá dentro:
function onLogin(cid)
local xp = 2.0
local storage = dobleExp(cid, storage)
if getPlayerStorageValue(cid, storage) >= 1 then
doPlayerSendCancel(cid, "voce tem direito ao dobro de xp")
doPlayerSetRate(cid, SKILL__LEVEL, xp)
end
return true
endagora vamos adiciona a tag, que fica localizado:servidor/data/creaturescript.xml
agora adicione esse tag dentro do arquivo login.lua
Agora vamos configurar..
aonde está localizado
local storage = {""} -- aqui voce coloca as storages que é necessarias para conseguir o exp
exp = 2.0 -- aqui voce colocar quanto que vai ganhar a mais de xp
WTF pra que registrar um evento de onLogin em script de onLogin ? '-'
-
5 horas atrás, Kheus Andrade disse:
quanto utilizo comando fica dizendo -> Sua barra esta desatualizada
Cade o restos das funções??, não saia dando codigos que n saiba
23 horas atrás, Kheus Andrade disse:Queria pedir a vocês um script talkactions para trocar de pokemon, ele tem que funcionar da seguinte maneira:
o player diz /poke blastoise e caso tenha o pokemon blastoise na bag ele puxa o poke atual (se estiver solto) e joga o blastoise no slot e solta o pokemon, o slot que digo é aonde tem que colocar a pokeball para soltar o pokemon
Vou ver oque posso fazer para você aqui amigo
-
Seu servidor não tem essas função de getDamageMapPercent
-
Em 21/02/2019 em 21:34, JulianoZN disse:
So faltou pra Linux
Mesmo Jeito , porem na hora de compilar no linux use esse code
sh ./autogen.sh && ./configure --enable-server-diag --enable-mysql --enable-login-server --enable-root-permission && make clean && make -j 2
-
function playerPokeNao(sid) return isCreature(sid) and getCreatureMaster(sid) ~= sid and isPlayer(getCreatureMaster(sid)) end function getPokesInArea(area) local monster = {} for x = area.fromx,area.tox do for y = area.fromy,area.toy do for z = area.fromz,area.toz do local m = getTopCreature({x=x, y=y, z=z}).uid if m ~= 0 and isMonster(m) then if not playerPokeNao(m) then table.insert(monster, m) end end end end end return monster end local Premio = {x=1060, y=2009, z=8} -- local do premio local area = {fromx = 1045, fromy = 2010, fromz = 8, tox = 1073 , toy = 2044, toz= 8} --- parte de cima no canto esquedo e area baixo canto direito function onUse(cid, item, pos) if #getPokesInArea(area) < 1 then doTeleportThing(cid, Premio, true) else doPlayerSendCancel(cid, "Derrote todos os darkrai para sair do pesadelo") end return true end
-
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local item = 5897 -- item AQui local storage = xxxxxx ---storage Aqui function creatureSayCallback(cid, type, msg) if msgcontains(msg, 'sim') or msgcontains(msg, 'yes') then if getPlayerStorageValue(cid, storage) == -1 then if getPlayerItemCount(cid, item) > 10 then setPlayerStorageValue(cid, storage, 1) selfSay('Otimo serviço, você tem minha autorização.', cid) else selfSay('Você precisa me trazer 10 rat paws', cid) end else selfSay('Você já fez minha missão', cid) end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
1 minuto atrás, Duhisback disse:
[14/08/2019 23:12:21] [Error - LuaScriptInterface::loadFile] datapack/movements/scripts/inicial/piso.lua:2: '(' expected near 'ï'
[14/08/2019 23:12:21] [Warning - Event::loadScript] Cannot load script (datapack/movements/scripts/inicial/piso.lua)
[14/08/2019 23:12:21] datapack/movements/scripts/inicial/piso.lua:2: '(' expected near 'ï'Isso e erro de fomatação
segue esse passo
-
9 minutos atrás, Duhisback disse:
[14/08/2019 22:47:57] mysql_real_query(): SELECT `player_id` FROM `marriage_system` WHERE `player_id` = '40'; - MYSQL ERROR: Table 'pokeedu.marriage_system' doesn't exist (1146)
[14/08/2019 22:47:57] mysql_real_query(): SELECT `partner` FROM `marriage_system` WHERE `partner` = '40'; - MYSQL ERROR: Table 'pokeedu.marriage_system' doesn't exist (1146)SpoilerCREATE TABLE marriage_system ( id INTEGER NOT NULL, player_id INTEGER NOT NULL, partner VARCHAR( 255 ) NOT NULL, marriage_date INTEGER NOT NULL, PRIMARY KEY ( id ) );
Sobre o Script
Spoilerlocal sto = 453454 --muda aki a sto?
function onStepIn(cid, item, position, fromPosition)
if isMonster(cid) then
return true
end
if getPlayerStorageValue(cid, sto) < 1 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, 27, "Pegue seu Pokemon Primeiro.")
return false
end
return true
end -
Cade o scan da base???
-
local pos = {x= 1264, y=381, z=7} -- aonde o player vai function onUse(cid, item, frompos) slot = getPlayerSlotItem(cid, 8) if getItemAttribute(slot.uid, "poke") == "Alakazam" or getItemAttribute(slot.uid, "poke") == "Shiny Alakazam" and #getCreatureSummons(cid) > 0 then doPlayerSendTextMessage(cid, 22, "Parabens voce passou") doTeleportThing(cid, pos) else doPlayerSendCancel(cid, "voce precisa de um Alakazam ou Shiny alakazam para passar") end return true end
-
Base utilizada?
-
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
Website
em Websites
Postado