Вход для пользователей

[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
[Lua Pack] Auto-Announcer, Auto Jail System, Auto Rez/Buff
Дата: Четверг, 29.04.2010, 17:24 | Сообщение # 1
Аватар

VIP Статус:
Группа: Администратор
Сообщений: 3088
Награды: 48
Репутация: 215  
 
Hey Guys just some scripts i made today, if someone would like to post them on Pastebin and send me the links ill give ya credits its just to late at night for me to do it

Code
--[[   
Made by Denidov
]]--

local delay = 60000
local ServerName = "ServerName"
local ServerType = "Funserver"
local ServerWebsite = "http://www.my-server.com/"
local ServerSummary = "This server is a funserver.$B$BWe hope you enjoy your stay."
local announcetype = 2
--[[ type 1 is across the screen and type 2 is chatbox]]--

function AutoAnnouncer(event, player, unit)
   RandomAnnounce=math.random(1,4)
    if RandomAnnounce==1 then
     SendWorldMessage("Welcome to "..ServerName.."", announcetype)
end
    if RandomAnnounce==2 then
     SendWorldMessage("This is a "..ServerType.."", announcetype)
end
    if RandomAnnounce==3 then
     SendWorldMessage("Please Visit "..ServerWebsite.."", announcetype)
end
    if RandomAnnounce==4 then
     SendWorldMessage(""..ServerSummary.."", announcetype)
end
end
RegisterTimedEvent("AutoAnnouncer", delay, 0)

Code
--[[ Made by Denidov
]]--

--[[Local Ports]]--
local Map = 0
local X = -13260.228516
local Y = 160.768799
local Z = 36.332066
--[[Local Zones]]--
local zone = 33

function OnDeath(event, player)
          if (player:IsDead() == true) then
     if (player:GetZoneId() == zone) then
      player:CastSpell(24341)
       player:Teleport(Map, X, Y, Z)
        player:CastSpellOnTarget(48068, player)
        player:CastSpellOnTarget(48161, player)
        player:CastSpellOnTarget(20217, player)
        player:CastSpellOnTarget(48469, player)
        player:CastSpellOnTarget(42995, player)
        player:CastSpellOnTarget(48073, player)
   end
   end
   end
RegisterServerHook(6, "OnDeath")

Code
--[[ Made by Denidov
]]--

--[[Banned Named]]--
local name1 = Denidov
local name2 = Denidov
local name3 = Denidov
local name4 = Denidov
local name5 = Denidov
local name6 = Denidov
local name7 = Denidov
---------------------

function OnEnterWorld(event, player, unit)
   if player:GetName("name1, name2, name3, name4, name5, name6, name7") == true) then
    player:SetHealth(-1)
end
end
RegisterServerHook(4, "OnEnterWorld")

Code
--[[ Made by Denidov
]]--

--[[Configs]]--

local map =   
local x =   
local y =   
local z =   
local token =   
---------------

function OnJail(event, player, unit)
   if (player:GetHealth() =< 25000) then
    player:SetHealth(20000)
    player:Teleport(map, x, y, z)
    player:AddItem (token, 1)
end
   if (player:GetMana() =< 30000) then
    player:SetMana(25000)
    player:Teleport(map, x, y, z)
    player:AddItem (token, 1)
end
   if (player:GetPlayerLevel() =< 81) then
    player:SetLevel(80)
    player:Teleport(map, x, y, z))
    player:AddItem (token, 1)
end
   if (unit:IsFlying(player) == true) then
    if (player:IsGM(3) == false) then
     elseif (player:IsGM(a) == false) then
      elseif (player:IsGM(az) == false) then
    player:SetFlying(0)
    player:Teleport(map, x, y, z))
    player:AddItem (token, 1)
end
      
   if (player:GetItemCount(token) > 5) then
    player:SoftDisconnect
end
end
RegisterServerHook(4, "OnJail")
 
  • Страница 1 из 1
  • 1
Поиск:
Статистика Форума

  • [05:43 Готовый сервер 4.0.6 ... 11.12.2023]

  • [23:30 Arcanum Core (3.3.5а)... 16.11.2023]

  • [12:37 delete 02.03.2020]

  • [12:37 Ищу пост ГМ-а 02.03.2020]

  • [12:37 RastaWoW 3.3.5a (Набо... 02.03.2020]

  • [12:37 Набор команды 02.03.2020]

  • [00:34 AMD FUN SERVER - Worl... 03.07.2019]

  • [00:34 Продам private сборку... 03.07.2019]

  • [00:34 НПС для покупки опыта... 03.07.2019]

  • [00:34 WoW-TRONE 03.07.2019]

  • [12:21 Набор спидхаков (spee... 12.10.2018]

  • [21:00 [Продам] Фуловые чары... 13.03.2015]

  • [18:47 Продам приват сборку ... 04.03.2015]

  • [20:54 ВСЕ приват сборки от ... 01.03.2015]

  • [20:52 QuantumCore Server 3.... 04.02.2015]

  • [21:07 GAMESV STUDIO | ... 02.01.2015]

  • [16:36 Готовый сервер wow 4.... 04.10.2014]

  • [16:51 Скупаю чаров! 30.08.2014]

  • [19:18 Готовый сервер 4.0.6 17.08.2013]

  • [18:47 [HELP]Квесты 16.08.2013]


  • Карта Сайта ||||| Карта Форума|||