Olá ....
As veses vejo que mt gente fala que poderia ter feito o script menor .. mais nao deu pq esqueceu algumas Functions ... intao irei postar todas possiveis .....
Vomos Lá ...
canPlayerLearnInstantSpell(cid, name)getInstantSpellInfoByName(cid, name)
getInstantSpellWords(name)
getHouseTilesSize(houseid)
getPlayerFood(uid)
getCreatureHealth(uid)
getCreatureMaxHealth(cid)
getPlayerMana(uid)
getPlayerMaxMana(uid)
getPlayerLevel(uid)
getPlayerMagLevel(uid)
getPlayerName(uid)
getPlayerAccess(uid)
getPlayerPosition(uid)
getPlayerSkill(uid,skillid)
getPlayerTown(cid)
getPlayerVocation(cid)
getPlayerItemCount(cid,itemid)
getPlayerSoul(cid)
getPlayerFreeCap(cid)
getPlayerLight(cid)
getPlayerSlotItem(cid, slot)
getPlayerDepotItems(uid, depotid)
getPlayerGuildId(cid)
getPlayerGuildName(cid)
getPlayerGuildRank(cid)
getPlayerGuildNick(cid)
getPlayerSex(cid)
getPlayerLookDir(cid)
getPlayerGUID(cid)
getPlayerFlagValue(cid, flag)
getPlayerGroupId(cid)
setPlayerGroupId(cid, newGroupId)
playerLearnInstantSpell(cid, name)
getPlayerLearnedInstantSpell(cid, name)
getPlayerInstantSpellCount(cid)
getPlayerInstantSpellInfo(cid, index)
getPlayerStorageValue(uid,valueid)
setPlayerStorageValue(uid,valueid, newvalue)
getGlobalStorageValue(valueid)
setGlobalStorageValue(valueid, newvalue)
getTilePzInfo(pos)
getTileHouseInfo(pos)
getItemRWInfo(uid)
getThingfromPos(pos)
getThing(uid)
getThingPos(uid)
doRemoveItem(uid,n)
doPlayerFeed(uid,food)
doPlayerSendCancel(uid,text)
doPlayerSendDefaultCancel(uid, ReturnValue)
doTeleportThing(uid,newpos,pushmove)
doTransformItem(uid,toitemid)
doCreatureSay(uid,text,type)
doSendMagicEffect(position,type)
doSendDistanceShoot(frompos, topos, type)
doChangeTypeItem(uid,new_type)
doSetItemActionId(uid,actionid)
doSetItemText(uid,text)
doSetItemSpecialDescription(uid,desc)
doSetCreatureDropLoot(cid, doDrop)
doSendAnimatedText(position,text,color)
doPlayerAddSkillTry(cid,skillid,n)
doCreatureAddHealth(cid,health)
doPlayerAddMana(cid,mana)
getPlayerSkullType(cid)
doPlayerAddManaSpent(cid,mana)
doPlayerAddSoul(cid,soul)
doPlayerAddItem(cid,itemid,type)
doPlayerSendTextMessage(cid,MessageClasses,message )
doPlayerRemoveMoney(cid,money)
doShowTextWindow(cid,maxlen,canWrite)
doShowTextDialog(cid,itemid,text)
doDecayItem(uid)
doCreateItem(itemid,type,position)
doCreateTeleport(itemid, topos, createpos)
doSummonCreature(name, position)
doConvinceCreature(cid, target)
doRemoveCreature(cid)
doMoveCreature(cid, direction)
doPlayerSetTown(cid, townid)
doPlayerSetVocation(cid,voc)
doPlayerRemoveItem(cid,itemid,count)
doPlayerAddExp(cid,exp)
doPlayerSetGuildId(cid, id)
doPlayerSetGuildRank(cid, rank)
doPlayerSetGuildNick(cid, nick)
doPlayerAddOutfit(cid,looktype,addons)
doPlayerRemOutfit(cid,looktype,addons)
doSetCreatureLight(cid, lightLevel, lightColor, time)
getCreatureCondition(cid, condition)
isPlayer(cid)
isCreature(cid)
isContainer(uid)
isMoveable(uid)
getPlayerByName(name)
getPlayerGUIDByName(name)
registerCreatureEvent(uid, eventName)
getContainerSize(uid)
getContainerCap(uid)
getContainerItem(uid, slot)
doAddContainerItem(uid, itemid, type)
getHouseOwner(houseid)
getHouseName(houseid)
getHouseEntry(houseid)
getHouseRent(houseid)
getHouseTown(houseid)
getHouseAccessList(houseid, listid)
getHouseByPlayerGUID(playerGUID)
setHouseAccessList(houseid, listid, listtext)
setHouseOwner(houseid, ownerGUID)
getWorldType()
getWorldTime()
getWorldLight()
getWorldCreatures(type)
getWorldUpTime()
broadcastMessage(message, type)
getGuildId(guild_name)
getPlayerSex(cid)
doPlayerSetSex(cid, newSex)
createCombatArea( {area}, {extArea} )
createConditionObject(type)
setCombatArea(combat, area)
setCombatCondition(combat, condition)
setCombatParam(combat, key, value)
setConditionParam(condition, key, value)
addDamageCondition(condition, key, rounds, time, value)
addOutfitCondition(condition, lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet)
setCombatCallBack(combat, key, function_name)
setCombatFormula(combat, type, mina, minb, maxa, maxb)
setConditionFormula(combat, mina, minb, maxa, maxb)
doCombat(cid, combat, param)
createCombatObject()
doAreaCombatHealth(cid, type, pos, area, min, max, effect)
doTargetCombatHealth(cid, target, type, min, max, effect)
doAreaCombatMana(cid, pos, area, min, max, effect)
doTargetCombatMana(cid, target, min, max, effect)
doAreaCombatCondition(cid, pos, area, condition, effect)
doTargetCombatCondition(cid, target, condition, effect)
doAreaCombatDispel(cid, pos, area, type, effect)
doTargetCombatDispel(cid, target, type, effect)
doChallengeCreature(cid, target)
numberToVariant(number)
stringToVariant(string)
positionToVariant(pos)
targetPositionToVariant(pos)
variantToNumber(var)
variantToString(var)
variantToPosition(var)
doChangeSpeed(cid, delta)
doSetMonsterOutfit(cid, name, time)
doSetItemOutfit(cid, item, time)
doSetCreatureOutfit(cid, outfit, time)
getCreatureOutfit(cid)
getCreaturePosition(cid)
getCreatureName(cid)
getCreatureSpeed(cid)
getCreatureBaseSpeed(cid)
getCreatureTarget(cid)
isItemStackable(itemid)
isItemRune(itemid)
isItemDoor(itemid)
isItemContainer(itemid)
isItemFluidContainer(itemid)
getItemName(itemid)
getItemWeight(itemid, count)
debugPrint(text)
isInArray(array, value)
addEvent(callback, delay, parameter)
stopEvent(eventid)
doPlayerPopupFYI(cid, message)
mayNotLogout(cid, value)
mayNotMove(cid, value)
doPlayerAddPremiumDays(cid, days)
doPlayerRemovePremiumDays(cid, days)
getPlayerPremiumDays(cid)
getPromotedVocation(voc)
getPlayerBlessing(cid, blessing)
doPlayerAddBlessing(cid, blessing)
savePlayers()
escapeString(str)
//String Library
string.byte(s [, i [, j]])string.char(i1, i2, ...)
string.dump(function)
string.find(s, pattern [, init [, plain]])
string.format(formatstring, e1, e2, ...)
string.gmatch(s, pat)
string.gsub(s, pattern, replace [, n])
string.len(s)
string.lower(s)
string.match (s, pattern [, init])
string.rep(s, n)
string.reverse(s)
string.sub(s, i [, j])
string.upper(s)
//Table Library
table.getn(table)table.sort(table [, comp])
table.insert(table, [pos,] value)
table.remove(table [, pos])
table.concat(table [, sep [, i [, j]]])
table.foreach(table, f)
table.foreachi(table, f)
//Math Library
math.absmath.acos
math.asin
math.atan
math.atan2
math.ceil
math.floor
math.cos
math.sin
math.tan
math.cosh
math.sinh
math.tanh
math.deg
math.rad
math.exp
math.log
math.log10
math.pow
math.min
math.max
math.modf
math.sqrt
math.random
math.randomseed
math.frexp
math.ldexp
math.huge
math.pi
//OS Library
os.clock()os.date([format [, time]])
os.difftime(t2, t1)
os.execute([command])
os.exit(
)os.getenv(varname)
os.remove(filename)
os.rename(oldname, newname)
os.setlocale(locale [, category])
os.time([table])
os.tmpname ()
[font=Arial Black][b]//IO Library[/b][/font]
io.close ([file])io.flush ()
io.input ([file])
io.lines ([filename])
io.open (filename [, mode])
io.output ([file])
io.read (format1, ...)
io.tmpfile ()
io.type (obj)
io.write (value1, ...)
file:seek ([whence] [, offset])
[size=3][b]//Debug Library[/b][/size]
debug.debug()debug.getfenv(o)
debug.gethook([thread])
debug.getinfo([thread,] function [, what])
debug.getlocal([thread,] level, local)
debug.getmetatable(object)
debug.getregistry()
debug.getupvalue(func, up)
debug.setfenv(object, table)
debug.sethook([thread,] hook, mask [, count])
debug.setlocal([thread,] level, local, value)
debug.setmetatable(object, table)
debug.setupvalue(func, up, value)
debug.traceback([thread,] [message] [, level])
[font=Arial Black][b]//LuaSQL Library[/b][/font]
luasql.odbc()close()
connect(sourcename[,username[,password[,hostname[,port]]]])
numrows()
commit()
execute(statement)
rollback()
setautocommit(boolean)
fetch([table[,modestring]])
getcolnames()
getcoltypes()
[font=Arial Black][b]//LUA General Library[/b][/font]
require(file)dofile(file)
print(vars)
[size=2][font=Arial Black]Bem Axo que vai ajudar ..... sempre esquecem algumazinha né .. agora e so da uma olhada e pronto ..... [/font][/size]:smile_positivo:
Flw... Abrasso ..
GOD Shark [Noel]