não testei
--Talkaction 100% by Dragonlordez--
function onSay(cid, words, param)
function ausente(cid)
doSendAnimatedText(getCreaturePosition(cid), "Ausente!", 215)
var=addEvent(ausente, 3000, cid)
doSendMagicEffect(getCreaturePosition(cid),12)
doPlayerSendTextMessage(cid,24,"Para parar diga !ausente stop.")
end
function stopAusente(cid)
stopEvent(var)
doSendMagicEffect(getCreaturePosition(cid),2)
end
if(param == '') then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
return true
end
if param == 'on' then
if getPlayerGroupId(cid) >= 6 then
ausente(cid)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você não tem acesso para este comando.")
end
elseif param == 'stop' then
stopAusente(cid)
end
return TRUE
end








info
Grupo: Campones
Registrado: 24/09/09
Posts: 21
Reputação: 0
Char no Tibia: Druida Aff
Tipo do script: Talkaction
Protocolo (versão do Tibia): 7.92
Servidor utilizado: Evolution
Nível de experiência: Médio
Adicionais/Informações: Queria que quando fosse usar a talkaction aqui so o acess 6 de GOD pudesse usar, ai embaixo o script.
--Talkaction 100% by Dragonlordez-- function onSay(cid, words, param) function ausente(cid) doSendAnimatedText(getCreaturePosition(cid), "Ausente!", 215) var=addEvent(ausente, 3000, cid) doSendMagicEffect(getCreaturePosition(cid),12) doPlayerSendTextMessage(cid,24,"Para parar diga !ausente stop.") end function stopAusente(cid) stopEvent(var) doSendMagicEffect(getCreaturePosition(cid),2) end if param == '' then ausente(cid) elseif param == 'stop' then stopAusente(cid) end return true end