Postado Março 1, 2015 10 anos Solução Tenta mudar por esse: function onSay(cid, words, param) local param = param.explode(param, ',') local item = param[2] if isPlayer(getPlayerByName(param[1])) and tonumber(param[2]) and tonumber(param[3]) then doPlayerSendTextMessage(getCreatureByName(param[1]), 22, "Você acabou de receber "..param[3].." "..getItemNameById(item).." do ADM!") doPlayerAddItem(getCreatureByName(param[1]), param[2], param[3]) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to use /giveitem Name,Itemid,Count.") end return TRUE end e coloque /giveitem no talk.xml Ajudei??? Rep + ae! Facebook: Béria Alternative Server
Postado Março 1, 2015 10 anos Autor Tenta mudar por esse: function onSay(cid, words, param) local param = param.explode(param, ',') local item = param[2] if isPlayer(getPlayerByName(param[1])) and tonumber(param[2]) and tonumber(param[3]) then doPlayerSendTextMessage(getCreatureByName(param[1]), 22, "Você acabou de receber "..param[3].." "..getItemNameById(item).." do ADM!") doPlayerAddItem(getCreatureByName(param[1]), param[2], param[3]) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to use /giveitem Name,Itemid,Count.") end return TRUE end e coloque /giveitem no talk.xml Vlw Pela Ajuda REP+ / Porem Vou Desativar Esse Comando Sera Que Os Players Do Servidor Tem Acesso a Todos Comandos Acess 5 ?
Postado Março 1, 2015 10 anos Tenta ver isso no seu Groups.xml... se tiver lá "player acess=5" sim... se não, somente quem tem o Acess 5 consegue... Mande seu groups.xml e talkaction.xml Ajudei??? Rep + ae! Facebook: Béria Alternative Server
Postado Março 1, 2015 10 anos Autor Tenta ver isso no seu Groups.xml... se tiver lá "player acess=5" sim... se não, somente quem tem o Acess 5 consegue... Mande seu groups.xml e talkaction.xml <?xml version="1.0" encoding="UTF-8"?> <groups> <group id="1" name="Player"/> <group id="2" name="Tutor" flags="16809984" customFlags="2" access="1" violationReasons="4" nameViolationFlags="2"/> <group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" violationReasons="10" nameViolationFlags="2" statementViolationFlags="63" maxVips="200"/> <group id="4" name="Gamemaster" flags="3808558964575" customFlags="257215" access="3" violationReasons="19" nameViolationFlags="10" statementViolationFlags="69" depotLimit="3000" maxVips="300" outfit="75"/> <group id="5" name="Community Manager" flags="3840774348794" customFlags="781823" access="4" violationReasons="23" nameViolationFlags="170" statementViolationFlags="213" depotLimit="4000" maxVips="400" outfit="266"/> <group id="6" name="God" flags="3845069447162" customFlags="2097151" access="5" violationReasons="23" nameViolationFlags="170" statementViolationFlags="213" depotLimit="5000" maxVips="500" outfit="302"/> </groups> ---------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Gods --> <talkaction log="yes" words="/skill;/addskill" access="5" event="script" value="skill.lua"/> <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/> <talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/> <talkaction log="yes" words="!mc" access="5" event="script" value="mc.lua"/> <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/> <talkaction words="/searchitem" access="5" event="script" value="searchitem.lua"/> <!-- Community Managers --> <talkaction words="/additem" acces="5" event="script" value="additem.lua"/> <talkaction log="yes" words="/s" access="5" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="5" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="5" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="5" event="script" value="reload.lua"/> <talkaction log="yes" words="/newtype" access="5" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="5" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="5" event="script" value="owner.lua"/> <talkaction log="yes" words="/storage" access="5" event="script" value="storage.lua"/> <talkaction log="yes" words="/config" access="5" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i" access="5" event="script" value="createitem.lua"/> <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/> <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/> <talkaction access="4" words="/y" event="script" value="animatedtext.lua"/> <talkaction log="yes" words="/bc" access="5" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="5" words="/mkick" event="script" value="masskick.lua"/> <talkaction log="yes" words="/save" access="5" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="5" event="script" value="clean.lua"/> <talkaction log="yes" words="/c" access="5" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/kick" access="5" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="5" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/mc" access="5" event="script" value="multicheck.lua"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/> <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/> <talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="/pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!car" event="script" value="car.lua"/> <talkaction words="!vipdays;!buyvip;/checkvip;/addvip;/delvip" script="systemvip.lua"/> <talkaction words="!frags" event="script" value="frags.lua"/> <talkaction words="!fly" event="script" value="fly.lua"/> <talkaction words="!aol;!AOL" event="script" value="aol.lua"/> <talkaction words="!online" event="script" value="online.lua"/> <talkaction words="!removeskull" event="script" value="skull.lua"/> <talkaction words="!uptime" event="script" value="uptime.lua"/> <talkaction words="!pvp" event="script" value="pvp.lua"/> <talkaction words="!spells" event="script" value="spells.lua"/> <talkaction words="!bless;!BLESS" event="script" value="bless.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!serverinfo" event="script" value="serverinfo.lua"/> <talkaction words="/commands" event="script" value="commands.lua"/> <talkaction words="!addon" event="script" value="addondoll.lua"/> <talkaction words="!goEvent;!openEvent" script="survival.lua"/> <talkaction words="!SurvivalRank" script="rank survival.lua"/> <talkaction words="!aura" event="script" value="aura.lua"/> <talkaction words="/cast" event="script" value="cast.lua"/> <!-- Guild War System --> <talkaction words="/war" channel="0" event="script" value="war.lua" desc="(Guild channel command) War management."/> <talkaction words="/balance" channel="0" event="script" value="balance.lua" desc="(Guild channel command) Balance management."/> <!-- Houses --> <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/> <!-- Guilds --> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> <!-- (Deprecated) Redirect old '/' to '!' --> <talkaction words="/online" hide="yes" event="script" value="online.lua"/> <talkaction words="/uptime" hide="yes" event="script" value="uptime.lua"/> <talkaction words="/pvp" hide="yes" event="script" value="pvp.lua"/> <talkaction words="/serverinfo" hide="yes" event="script" value="serverinfo.lua"/> <!-- Custom systems --> <talkaction words="!rank" script="ranks.lua"/> <talkaction words="!jail" script="Cadeia.lua"/> <talkaction words="!unjail" script="Cadeia.lua"/> <talkaction words="/jail" script="Cadeia.lua"/> <talkaction words="/unjail" script="Cadeia.lua"/> <talkaction words="!necromancer" script="demonic.lua"/> <talkaction words="!afk" event="script" value="afk.lua"/> <talkaction words="!treinando" event="script" value="treinando.lua"/> <talkaction filter="word" words="/guild" script="guildcast.lua"/> <!-- pollsystem talkactions --> <talkaction words="!attackguild" event="script" value="attackguild.lua"/> <talkaction words="!createpoll" event="script" value="PollSystem.lua"/> <talkaction words="!activatepoll" event="script" value="PollSystem.lua"/> <talkaction words="!cancelpoll" event="script" value="PollSystem.lua"/> <talkaction words="!seepoll" event="script" value="PollSystem.lua"/> <talkaction words="!seeresults" event="script" value="PollSystem.lua"/> <talkaction words="!remvotes" event="script" value="PollSystem.lua"/> <talkaction words="!rempoll" event="script" value="PollSystem.lua"/> <talkaction words="!votepoll" event="script" value="PollSystem.lua"/> <talkaction words="!vipdayss" event="script" value="vip/vipdays.lua" /> </talkactions>
Postado Março 1, 2015 10 anos olá no Talkaction... <talkaction words="/additem" acces="5" event="script" value="additem.lua"/> mude para <talkaction words="/giveitem" acces="5" event="script" value="giveitem.lua"/> e nos scripts, ache o additem.lua e mude para giveitem.lua Ajudei??? Rep + ae! Facebook: Béria Alternative Server
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.