[Global Event] VIP Effect (When person is ghost it doesn't shows)
Page 1 of 1
[Global Event] VIP Effect (When person is ghost it doesn't shows)
Hello Otstrikers,
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\OTLand
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\OTLand
Sacred Anlyest- Global Moderator
- Profession :
- Mapper
- Scripter
Posts : 20
Reputation : 1
Join date : 2011-12-20
Age : 26
Location : Egypt
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Nov 05, 2013 9:57 am by ftcyber
» heyyy
Tue Jul 02, 2013 9:44 am by Amiroslo
» Emporia - Global map by 5mok3 [8.6x]
Tue Feb 05, 2013 5:39 am by elsab3
» Information! This is a must read!
Sat Jan 28, 2012 6:28 am by Zatjin
» Which world are/were you playing in?
Thu Jan 26, 2012 4:18 pm by Zatjin
» How to make a proper thread (APPLYING)
Thu Jan 26, 2012 3:23 pm by Zatjin
» [Sweden][8.6] Quzed.TK BrandNEW RL Server
Thu Jan 26, 2012 2:27 pm by Cypher
» Inactive!
Thu Jan 26, 2012 2:24 pm by Cypher
» League of Legends (LoL)
Wed Jan 18, 2012 8:22 am by FreshM
» Blazing RPG - We are in a need of a team!
Wed Jan 18, 2012 4:24 am by Zatjin