H4CK3R
'_'
Hello otlanders,
Alot of ppls requested VIP Effect and if person is ghost it don't shows!
goto data/globalevents/scripts and create vipEffect.lua
and goto data/globalevents and open globalevents.xml and put this line
Credits goes to PhoOwned!
Alot of ppls requested VIP Effect and if person is ghost it don't shows!
goto data/globalevents/scripts and create vipEffect.lua
Code:
function onThink(interval, lastExecution)
for _, name in ipairs(getOnlinePlayers()) do
local cid = getPlayerByName(name)
if not isPlayerGhost(cid) and getPlayerVipDays(cid) >= 1 then
doSendMagicEffect(getPlayerPosition(cid), 27)
doSendAnimatedText(getPlayerPosition(cid), "VIP!", TEXTCOLOR_RED)
end
end
return true
end
and goto data/globalevents and open globalevents.xml and put this line
Code:
<globalevent name="vipEffect" interval="3" script="vipEffect.lua"/>
Credits goes to PhoOwned!