• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    Guia de Funciones Lua Tfs 1.2

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1default Guia de Funciones Lua Tfs 1.2 el Miér Jun 08, 2016 4:45 am

    Cheka

    avatar
    Miembro
    Miembro
    bueno aqui les dejo para el que quiera aprender lua. las funciones.

    Código:
    broadcastMessage(message, messageType)
    canPlayerLearnInstantSpell(cid, name)
    canPlayerWearOutfit(cid, lookType, addons)
    doAddCondition(cid, conditionId)
    doAddContainerItemEx(uid, virtualId)
    doAddMapMark(cid, pos, type, description)
    doChangeSpeed(cid, delta)
    doChangeTypeItem(uid, newType)
    doCombat(cid, combat, var)
    doConvinceCreature(cid, target)
    doCreateNpc(name, pos, ...)
    doCreateTeleport(itemId, destination, position)
    doCreatureAddHealth(cid, health)
    doCreatureChangeOutfit(cid, outfit)
    doCreatureSay(cid, text, type, ...)
    doCreatureSetLookDir(cid, direction)
    doDecayItem(uid)
    doMonsterChangeTarget(cid)
    doPlayeJoinParty(cid, leaderId)
    doPlayerAddBlessing(cid, blessing)
    doPlayerAddExp(cid, exp, useMult, ...)
    doPlayerAddItemEx(cid, uid, ...)
    doPlayerAddMana(cid, mana, ...)
    doPlayerAddManaSpent(cid, mana)
    doPlayerAddMoney(cid, money)
    doPlayerAddMount(cid, mountId)
    doPlayerAddOutfit(cid, lookType, addons)
    doPlayerAddPremiumDays(cid, days)
    doPlayerAddSkillTry(cid, skillId, n)
    doPlayerAddSoul(cid, soul)
    doPlayerFeed(cid, food)
    doPlayerPopupFYI(cid, message)
    doPlayerRemOutfit(cid, lookType, addons)
    doPlayerRemoveItem(cid, itemId, count, ...)
    doPlayerRemoveMoney(cid, money)
    doPlayerRemoveMount(cid, mountId)
    doPlayerRemovePremiumDays(cid, days)
    doPlayerSendCancel(cid, text)
    doPlayerSendTextMessage(cid, type, text, ...)
    doPlayerSetBalance(cid, balance)
    doPlayerSetGuildLevel(cid, level)
    doPlayerSetGuildNick(cid, nick)
    doPlayerSetOfflineTrainingSkill(cid, skillId)
    doPlayerSetSex(cid, sex)
    doPlayerSetTown(cid, town)
    doPlayerSetVocation(cid, vocation)
    doRelocate(fromPos, toPos)
    doRemoveCondition(cid, conditionType, subId)
    doRemoveCreature(cid)
    doRemoveItem(uid, ...)
    doSendDistanceShoot(fromPos, toPos, distanceEffect, ...)
    doSendMagicEffect(pos, magicEffect, ...)
    doSendTutorial(cid, tutorialId)
    doSetCreatureDropLoot(cid, doDrop)
    doSetItemActionId(uid, actionId)
    doSetItemSpecialDescription(uid, desc)
    doSetItemText(uid, text)
    doSetMonsterTarget(cid, target)
    doShowTextDialog(cid, itemId, text)
    doSummonCreature(name, pos ...)
    doTeleportThing(uid, dest, pushMovement)
    doTransformItem(uid, newItemId, ...)
    getAccountNumberByPlayerName(name)
    getConfigInfo(info)
    getContainerCap(uid)
    getContainerCapById(itemId)
    getContainerItem(uid, slot)
    getContainerSize(uid)
    getCreatureBaseSpeed(cid)
    getCreatureHealth(cid)
    getCreatureMaster(cid)
    getCreatureMaxHealth(cid)
    getCreatureName(cid)
    getCreatureOutfit(cid)
    getCreaturePosition(cid)
    getCreatureSpeed(cid)
    getCreatureSummons(cid)
    getCreatureTarget(cid)
    getFluidSourceType(itemId)
    getGlobalStorageValue(key)
    getGuildId(guildName)
    getHouseAccessList(id, listId)
    getHouseByPlayerGUID(playerGUID)
    getHouseEntry(houseId)
    getHouseName(houseId)
    getHouseOwner(houseId)
    getHouseRent(id)
    getHouseTilesSize(houseId)
    getHouseTown(houseId)
    getIPByPlayerName(name)
    getItemDescriptions(itemId)
    getItemIdByName(name)
    getItemName(itemId)
    getItemRWInfo(uid)
    getItemWeight(itemId, ...)
    getItemWeightByUID(uid, ...)
    getMonsterFriendList(cid)
    getMonsterTargetList(cid)
    getOnlinePlayers()
    getPartyMembers(cid)
    getPlayerAccess(cid)
    getPlayerAccountType(cid)
    getPlayerBalance(cid)
    getPlayerBlessing(cid, blessing)
    getPlayerByIPAddress(ip, mask)
    getPlayerByName(name)
    getPlayerDepotItems(cid, depotId)
    getPlayerFood(cid)
    getPlayerFreeCap(cid)
    getPlayerGroupId(cid)
    getPlayerGUID(cid)
    getPlayerGUIDByName(name)
    getPlayerGuildId(cid)
    getPlayerGuildLevel(cid)
    getPlayerGuildName(cid)
    getPlayerGuildNick(cid)
    getPlayerGuildRank(cid)
    getPlayerIp(cid)
    getPlayerItemById(cid, deepSearch, itemId, ...)
    getPlayerItemCount(cid, itemId, ...)
    getPlayerLastLoginSaved(cid)
    getPlayerLearnedInstantSpell(cid, name)
    getPlayerLevel(cid)
    getPlayerLight(cid)
    getPlayerLookDir(cid)
    getPlayerLossPercent(cid)
    getPlayerMagLevel(cid)
    getPlayerMana(cid)
    getPlayerMasterPos(cid)
    getPlayerMaxMana(cid)
    getPlayerMoney(cid)
    getPlayerMount(cid, mountId)
    getPlayerName(cid)
    getPlayerParty(cid)
    getPlayerPosition(cid)
    getPlayerPremiumDays(cid)
    getPlayersByAccountNumber(accountNumber)
    getPlayerSex(cid)
    getPlayerSkill(cid, skillId)
    getPlayerSkullType(cid)
    getPlayerSlotItem(cid, slot)
    getPlayerSoul(cid)
    getPlayerStorageValue(cid, key)
    getPlayerTown(cid)
    getPlayerVocation(cid)
    getPromotedVocation(vocationId)
    getSpectators(centerPos, rangex, rangey, multiFloor, onlyPlayers)
    getThing(uid)
    getThingFromPos(pos)
    getThingPos(uid)
    getTileHouseInfo(pos)
    getTileInfo(position)
    getTileItemById(position, itemId, ...)
    getTileItemByType(position, itemType)
    getTilePzInfo(position)
    getTileThingByPos(position)
    getTileThingByTopOrder(position, topOrder)
    getTopCreature(position)
    getTownId(townName)
    getTownName(townId)
    getTownTemplePosition(townId)
    getWorldCreatures(type)
    Guild.addMember(self, player)
    Guild.removeMember(self, player)
    hasProperty(uid, prop)
    isContainer(uid)
    isCorpse(uid)
    isCreature(cid)
    isItem(uid)
    isItemContainer(itemId)
    isItemDoor(itemId)
    isItemFluidContainer(itemId)
    isItemMovable(itemId)
    isItemRune(itemId)
    isItemStackable(itemId)
    isMonster(cid)
    isNpc(cid)
    isPlayer(cid)
    isPlayerGhost(cid)
    isPlayerPzLocked(cid)
    isPremium(cid)
    isSightClear(fromPos, toPos, floorCheck)
    isSummon(cid)
    playerLearnInstantSpell(cid, name)
    pushThing(thing)
    queryTileAddThing(thing, position, ...)
    registerCreatureEvent(cid, name)
    setGlobalStorageValue(key, value)
    setHouseAccessList(id, listId, listText)
    setHouseOwner(id, guid)
    setPlayerGroupId(cid, groupId)
    setPlayerStorageValue(cid, key, value)
    targetPositionToVariant(position)
    unregisterCreatureEvent(cid, name)

    Ver perfil de usuario

    2default Re: Guia de Funciones Lua Tfs 1.2 el Dom Jun 12, 2016 12:31 pm

    hirako

    avatar
    Miembro
    Miembro
    estas funciones son tfs 0.3.6 ??

    Ver perfil de usuario

    3default Re: Guia de Funciones Lua Tfs 1.2 el Miér Jun 22, 2016 3:55 am

    Cheka

    avatar
    Miembro
    Miembro
    son de tfs 1.2

    Ver perfil de usuario

    Contenido patrocinado


    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).