Ir para conteúdo

Featured Replies

Postado

É só você editar as mensagens ali no script, deixando-as entre " " (aspas)

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

  • Respostas 6
  • Visualizações 516
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Tenta usar esse..   function onUse(cid, item, frompos, item2, topos) local skull = getCreatureSkullType(cid) local bad_skulls = {SKULL_RED,SKULL_BLACK} if getTileInfo(getThingPos(cid)).protect

Postado

Assim ? :P

function onUse(cid, item, frompos, item2, topos)
    local skull = getCreatureSkullType(cid)
    local bad_skulls = {SKULL_RED,SKULL_BLACK}    
    if getTileInfo(getThingPos(cid)).protection == false then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"Voce nao pode remover seu skull nesta area.")
    return false
            elseif isInArray(bad_skulls, skull) == true then
                doPlayerSetSkullEnd(cid, 0, skull)
                doRemoveItem(item.uid, 1)
                db.executeQuery('UPDATE `killers`, `player_killers` SET `killers`.`unjustified` = 0 WHERE `killers`.`unjustified` = 1 AND `player_killers`.`player_id` = ' .. getPlayerGUID(cid) .. ' AND `killers`.`id` = `player_killers`.`kill_id`')
                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Seu skull foi removido com sucesso.")
            else
                doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce nao tem black/red skull para ser removido.")
            end
    return true
end

LONADOVISK ♥

znExesyD.png

 

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