agentsbion.blogg.se

Prison escape simulator script v3rmillion
Prison escape simulator script v3rmillion







".")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No IP was banned.")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, target. convertSecondsToText(length)) or " until serversave"). Local ret = addIPBan(ip, mask, length, getPlayerGUID(creature), "Banned with /b", 0, 0)ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, target. Players = getPlayersByIPAddress(ip, mask) If target:find("") = nil and target:find(".") ~= nil then " was unbanned.")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No player was unbanned.")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "The player does not exist.")Įlseif bantype = "ip" or bantype = "i" then ".")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No player was banned.")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, target. Local ret = addPlayerBan(target, length, getPlayerGUID(creature), "Banned using /b", 0, 0)ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, target. Local length = 0 - Default until shutdown " was unbanned.")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No account was unbanned.")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "The account does not exist.")Įlseif bantype = "p" or bantype = "player" then ".")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No account was banned.")ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, target.

prison escape simulator script v3rmillion

Local ret = addAccountBan(accno, length, getPlayerGUID(creature), "Banned using /b", 0, 0)ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, target. Players = getPlayersByAccountNumber(accno) If access ~= LUA_ERROR and access = 4 then If string.find(ss, "\n", string.find(ss, "\n") + 1) then doPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, ss) end The +0.0 is required to circumvent lua's shortcomings with string->number conversion Local bantext = convertIntToIP(ban, ban). "\n"ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No IPs are banned.") "\n"ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, ss)ĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No accounts are banned.") T = string.match(str, "(+)") or "d"Įlseif t = "ss" or t = "serversave" thenĮlseif t = "y" or t = "year" or t = "years" thenĮlseif t = "m" or t = "month" or t = "months" thenĮlseif t = "w" or t = "week" or t = "weeks" thenĮlseif t = "d" or t = "day" or t = "days" thenĮlseif t = "h" or t = "hour" or t = "hours" thenĮlseif t = "m" or t = "min" or t = "minute" or t = "minutes" thenįunction doSendBanListMessage(creature, format)įor v in string.gmatch(format, "$(%w+)") doĭoPlayerSendTextMessage(creature, MESSAGE_STATUS_CONSOLE_RED, "No players are banned.") N = tonumber(string.match(str, "(%d+)")) or 1

prison escape simulator script v3rmillion

If days > 0 or hours > 0 or minutes > 0 and seconds > 0 then (ban.expires = -1 and "undeleted" or "unbanned").

prison escape simulator script v3rmillion

If(ban and doRemovePlayerBanishment(guid, PLAYERBAN_BANISHMENT)) thenĭoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, param. " has been removed.")īan = getBanData(guid, BAN_PLAYER, PLAYERBAN_BANISHMENT) If(ban and doRemovePlayerBanishment(guid, PLAYERBAN_LOCK)) thenĭoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Namelock from ". Local guid = getPlayerGUIDByName(param, true)īan = getBanData(guid, BAN_PLAYER, PLAYERBAN_LOCK) If(isIpBanished(getPlayerIp) and doRemoveIpBanishment(getPlayerIp)) thenĭoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "IP Banishment on ". If(ban and doRemoveAccountBanishment(account)) thenĭoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, name.

prison escape simulator script v3rmillion

Local ban = getBanData(account, BAN_ACCOUNT) Local account, tmp = getAccountIdByName(param), trueĭoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player or account '". Function onSay(cid, words, param, channel)ĭoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")









Prison escape simulator script v3rmillion