Aw Galera Fmz?
Tipo No Meu Sv Soh Tem O Sistema De Ban Mais eh Por Dias e Fica Ruium Pois O Cara Que Foi Banido Ainda Pod Entra.
Será Que Alguem Aew Pod Cria Um Ban Ip ??
Vlw Pela Atención Oo
Aw Galera Fmz?
Tipo No Meu Sv Soh Tem O Sistema De Ban Mais eh Por Dias e Fica Ruium Pois O Cara Que Foi Banido Ainda Pod Entra.
Será Que Alguem Aew Pod Cria Um Ban Ip ??
Vlw Pela Atención Oo
function onSay(cid, words, param) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return TRUE end local pid = getPlayerByNameWildcard(param) local tmp = getPlayerIp(pid) if(doAddIpBanishment(tmp) or pid == 0 or (isPlayerGhost(pid) == TRUE)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " is not currently online.") end if isPlayerGhost(pid) == FALSE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, getCreatureName(pid) .. " has been banned.") doAddIpBanishment(tmp, 7 * 24 * 60 * 60) doRemoveCreature(pid) end return TRUE end
O tempo de banimento tá pra sete dias, para alterar é só mudar o numero 7 para o dias
que voce quer nessa linha: "doAddIpBanishment(tmp, 7 * 24 * 60 * 60)"
Qualquer dúvida ou erro poste.
______________________________________________________________
Esse Ban pelo Ip Funciona igual o /ban?
exp: eh soh coloca o comando e o nome do cara na frente??
e Vlws Pelo Script ^^