Ir para conteúdo

[ Resolvido ]preciso De Um Talkaction Para God Que Tira Red E Black Skull Dos Player Por Favor


xurupita1

Posts Recomendados

que pdoe me ajudar ai precisa de uma talkaction que so GOD possa usar para retirar black e red skull dos player ou tanbm retirar battle ok?
quem puder me Ajdua ai Eu vo Agradeçe Muito !! eu tenho um talkaction aqui mais eu estou aprendendo a fazer talkactions ainda entaum eu nao sei configurar! quem poder !


function onSay(cid, words, param, channel)

if getCreatureSkullType(cid) == SKULL_BLACK then
doPlayerRemoveMoney(cid, 10000)
doCreatureSetSkullType(cid, SKULL_NONE)
else
doPlayerSendTextMessage(cid, 22, "Você precisa de 10k para remover a blackskull.")
end
return TRUE
end


Esse escript é ara remover black skuul mais nao sei configurar para so eu fazer isso tipo !removebla "NIck do play



Por Favor Me Ajudem!!!

:thumbsupsmiley2:

Preciso de Ajuda Quem puder me Ajuda Por Favor!!!!!!!!
Manda Uma Resposta AI :cry:

MINHAS METAS

  • 10 Posts( )
  • 25 Posts( )
  • 50 Posts( )
  • 100 Posts( )
  • 200 Posts( )
  • 300 Posts( )
  • 400 Posts( )
  • 500 Posts( )



dudug.gif

Dragon Ot
IP:dragonot.sytes.net
Client:8.52
Port:7171
Medias De Pessoas Online
25 A 40! :smile_positivo: Entrem e Se Divirtam!!!!
Editado por EduArdo20
Link para o comentário
Compartilhar em outros sites

function onSay(cid, _, param)

if param == '' then

doPlayerSendCancel(cid, "This command requires param.")

return true

end

 

if playerExistis(param) then

if getCreatureSkullType(player = getPlayerByNameWildcard(param)) >= 1 then

doCreatureSetSkullType(player, SKULL_NONE)

if getCreatureCondition(player, CONDITION_INFIGHT) == true then

doRemoveCondition(player, CONDITION_INFIGHT)

end

doPlayerSendTextMessage(player, 25, "Your skull was removed.")

doPlayerSendTextMessage(cid, 27, "You removed the skull of "..param)

return true

end

else

doPlayerSendCancel(cid, "That player don't exists.")

end

return true

end

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...