Caerbannogh
09-28-2018, 09:30 AM
Hails all o/
this its my first post of a .lua i made :D
This one is for helping find the creature's mounts. if they're on screen, sounds alarm and thats it
hope its usefull for someone ;)
local PlayerList = {"Creature name ex: Crustacea Gigantica"}
Module.New('player alert', function(module)
local player = Self.GetSpectators(true)
for i =1, #player do
if table.contains(PlayerList, player[i]:Name()) then
alert()
module:Delay(2000)
end
end
end)
Caerbannogh
this its my first post of a .lua i made :D
This one is for helping find the creature's mounts. if they're on screen, sounds alarm and thats it
hope its usefull for someone ;)
local PlayerList = {"Creature name ex: Crustacea Gigantica"}
Module.New('player alert', function(module)
local player = Self.GetSpectators(true)
for i =1, #player do
if table.contains(PlayerList, player[i]:Name()) then
alert()
module:Delay(2000)
end
end
end)
Caerbannogh