need a script for EX: if orc warlord on screen play alarm
i tried searching with no luck anyone have such a thing?
Printable View
need a script for EX: if orc warlord on screen play alarm
i tried searching with no luck anyone have such a thing?
@secret121
This was made to check for players, but it works on any "creature" name.
Code:local PlayerList = {"Orc Warlord","Demon","Kharsek"}
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)
thanks