secret121
04-16-2016, 09:35 PM
need a script for EX: if orc warlord on screen play alarm
i tried searching with no luck anyone have such a thing?
dinmamma
04-17-2016, 01:07 PM
secret121
This was made to check for players, but it works on any "creature" name.
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)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.