Postado Outubro 19, 2015 9 anos Ta aí.Muda doPlayerSetTown(cid, 1) Troca o 1 pelo id de Carlin, da pra ver no RME apertando ctrl + t.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) doPlayerSetTown(cid, 1) 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 true end Editado Outubro 19, 2015 9 anos por rogaforyn2 (veja o histórico de edições) Life is so meaningless, there is nothing worth a smile So goodbye, I'll miss you sugestões?
Postado Outubro 19, 2015 9 anos Na linha 20. Life is so meaningless, there is nothing worth a smile So goodbye, I'll miss you sugestões?
Postado Outubro 19, 2015 9 anos Acho que o fórum bugou, porquê pra mim aparece.Qualquer coisa põe doPlayerSetTown(cid, 1) Debaixo da linha que tu fez seta e muda o 1. Aqui era pra ser completo: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) doPlayerSetTown(cid, 1) 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 true end Life is so meaningless, there is nothing worth a smile So goodbye, I'll miss you sugestões?
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.