Ir para conteúdo

Featured Replies

Postado
  Em 11/06/2014 em 03:34, luanluciano93 disse:

 

Enviei de qualquer outro? Se tem tanta certeza nem discuto .. 

@DeathRocks, tenta esse ...

function onLogin(cid)
	
	if(getConfigValue('deathLostPercent') ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, getConfigValue('deathLostPercent') * 10) 
	end

	if(getPlayerAccountManager(cid) == MANAGER_NONE) then	
		if(getPlayerLastLoginSaved(cid) > 0) then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Your last visit was on " .. os.date("%a %b %d %X %Y", getPlayerLastLoginSaved(cid)) .. ".")
		else
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Please choose your outfit.")
			doPlayerSendOutfitWindow(cid)
		end	
	elseif(getPlayerAccountManager(cid) == MANAGER_NAMELOCK) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
	elseif(getPlayerAccountManager(cid) == MANAGER_ACCOUNT) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type [account] to manage your account and if you want to start over then type [cancel].")
	else
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type [account] to create an account or type [recover] to recover an account.")
	end

	if(not isPlayerGhost(cid)) then
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
	end

	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "GuildMotd")
	registerCreatureEvent(cid, "killer")
	registerCreatureEvent(cid, "Idle")
	registerCreatureEvent(cid, "antiacc")
	registerCreatureEvent(cid, "TiraBattle")
	registerCreatureEvent(cid, "CombatDodge")
	registerCreatureEvent(cid, "attackguild")
	registerCreatureEvent(cid, "advance")
	registerCreatureEvent(cid, "FimVip")
	registerCreatureEvent(cid, "forever amulet")
	registerCreatureEvent(cid, "SkullCheck")
	registerCreatureEvent(cid, "ReportBug")
	registerCreatureEvent(cid, "VipReceive")
	registerCreatureEvent(cid, "PlayerKill")
	
	return true
end

 

 

Vi agora que você organizou, porque o em spoiler dele separava, erro meu, sem crise, desculpas.

Editado por Absolute (veja o histórico de edições)

YDmXTU2.png

 

Entenda tudo sobre VPS, DEDICADOS & HOSPEDAGENS. => Clique aqui

Global Full Download 10.9x - TFS 1.2/FERUMBRAS/KRAILOS. => Clique aqui

 

Muitos querem aquilo que você tem, 
mas vão desistir quando souberem o preço que você pagou.

 

skype-favicon.png lu.lukinha

message-16.png absolute@lnetworks.com.br

  • Respostas 13
  • Visualizações 718
  • Created
  • Última resposta

Top Posters In This Topic

Postado

use este 
 

  Citar

 

doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)

elseif(accountManager == MANAGER_NAMELOCK) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
elseif(accountManager == MANAGER_ACCOUNT) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
end

 

 

era para ' account' , 'cancel', 'recover' funcionar qual versão do tfs?

Editado por AnaPaula (veja o histórico de edições)

 

 

Postado
  • Autor
  Em 11/06/2014 em 12:41, AnaPaula disse:

use este 

 

 

 

era para ' account' , 'cancel', 'recover' funcionar qual versão do tfs?

eu uso o TFS 0.4

VENHAM JOGAR O MELHOR BAIAK JÁ CRIADO DE 2022!!

 

CRIE SUA CONTA AGORA MESMO!

 

www.baiakudo.com

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo