Ir para conteúdo

Featured Replies

Postado

Essa minha talk... da ban ip apenas, da pra incrementar banished account também?


function onSay(cid, words, param, channel)

    local pid = getPlayerByNameWildcard(param)

    if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then

	    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " is not currently online.")

	    return true

    end

    doAddIpBanishment(getPlayerIp(pid))

    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getCreatureName(pid) .. " has been permanently banished.")

    return true

end

(1º) | [8.60] - Galaxy Server - Download

(2º) | [8.60] - Glorious Server - Download

(3º) | [8.60] - Epic Server - Download

Postado

function onSay(cid, words, param, channel)

local pid = getPlayerByNameWildcard(param)

Banishedlocal:21234

if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " is not currently online.")

return true

end

doAddIpBanishment(getPlayerIp(pid))

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getCreatureName(pid) .. " has been permanently banished.")

return true

end

acho que isso resolve tudo :D

AJUDEI? +REP

Postado

Essa minha talk... da ban ip apenas, da pra incrementar banished account também?


function onSay(cid, words, param, channel)

local pid = getPlayerByNameWildcard(param)

if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then

	 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " is not currently online.")

	 return true

end

doAddIpBanishment(getPlayerIp(pid))

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getCreatureName(pid) .. " has been permanently banished.")

return true

end

sé o IP Dinâmico este script não vai funcionar. :angry2:

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