Postado Outubro 19, 2015 9 anos Bom dia galera!queria sabe onde altero para quando o player criar o personagem ele já virar um cidadao de tal cidade, exemplo: os player quando criarem irao nascer templo de thais, mais quero que virem cidadao de carlin para quando morrerem nascerem no templo de carlin, sem precisar que eles vao ateh carlin e entrem no portalziho la que tem dentro do templo!Dou rep+ pra quem me ajuda!
Postado Outubro 19, 2015 9 anos Posta o creaturescript login.lua Life is so meaningless, there is nothing worth a smile So goodbye, I'll miss you sugestões?
Postado Outubro 19, 2015 9 anos Autor Segue abaixo: local config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))}function onLogin(cid) local text = "- Bem vindo ao novo BaiakZica [8.60], here's a list of commands:\n!bless -> Get blessed by the Gods\n!frags -> See your current frags\nCtrl+R -> Report bugs to staff\n- Visite: BaiakZica.no-ip.biz e adquira seus Points."local useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local lastLogin = getPlayerLastLoginSaved(cid) if(lastLogin > 0) then doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE, text) else doPlayerSendOutfitWindow(cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "inquisitionPortals") registerCreatureEvent(cid, "countKill") registerCreatureEvent(cid, "SaveReportBug") --registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "kill") registerCreatureEvent(cid, "reward") --registerCreatureEvent(cid, "30") registerCreatureEvent(cid, "ArenaKill") registerCreatureEvent(cid, "killbossesbroadcast") registerCreatureEvent(cid, "PythiusDead") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "Achievements") registerCreatureEvent(cid, "Frags") registerCreatureEvent(cid, "demonOakLogout") registerCreatureEvent(cid, "demonOakDeath") registerCreatureEvent(cid, "demonOakComplete") registerCreatureEvent(cid, "PlayerDeath") registerCreatureEvent(cid, "WoeExp") registerCreatureEvent(cid, "PlayerItems") registerCreatureEvent(cid, "ExpVip") registerCreatureEvent(cid, "Addons")registerCreatureEvent(cid, "DeathBroadCast") if (InitArenaScript ~= 0) then InitArenaScript = 1 for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) end setPlayerStorageValue(cid, 42350, 0) setPlayerStorageValue(cid, 42352, 0)return trueend
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.