Ir para conteúdo

Posts Recomendados

Boas... estou com um problema aqui num scripit....

 

 

function onThink(interval, lastExecution)



for _, pid in ipairs(getPlayersOnline()) do 
doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'If you need help you can use HELP CHAT (CTRL+T) or contact support_ot@hotmail.com.')

end
return TRUE
end

 

Erro... Player Not Found

 

 

Esper a vossa ajuda

Link para o comentário
https://xtibia.com/forum/topic/143310-erro-globalevent/
Compartilhar em outros sites

troque o "cid" pelo "pid"

 

function onThink(interval, lastExecution) 

for _, pid in ipairs(getPlayersOnline()) do  
doPlayerSendTextMessage(pid, MESSAGE_INFO_DESCR, 'If you need help you can use HELP CHAT (CTRL+T) or contact support_ot@hotmail.com.') 
end 
return TRUE 
end

Link para o comentário
https://xtibia.com/forum/topic/143310-erro-globalevent/#findComment-947574
Compartilhar em outros sites

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...