• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

GlobalEvent Help with a VIP script

zidanefrance

Seniour Member
Joined
Jul 20, 2009
Messages
51
Reaction score
0
I need a script That makes ppl when they are VIP they have magic effect every X seconds and doCreatureSay VIP or something like that....help me with it and I will rep++ u!!
 
Code:
function onThink(interval, lastExecution, thinkInterval)
	for _, cid in ipairs(getPlayersOnline()) do
		if (getPlayerStorageValue(cid, xxxx) > 0) then
			doSendAnimatedText(getCreaturePosition(cid), "* VIP *", TEXTCOLOR_RED)
		end
	end
	return true
end

Change xxxx to your vip storage key.
 
sorry for double posts but..thanks i found out how to do it! :peace:..rep++ for you...but what about if i want to add magic effect to it? :D
 
Here:

Lua:
function onThink(interval, lastExecution, thinkInterval)
        for _, cid in ipairs(getPlayersOnline()) do
                if getPlayerStorageValue(cid, XXXX) > 0 then
                        doSendAnimatedText(getCreaturePosition(cid), "Vip", TEXTCOLOR_RED)
                        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
                end
        end
        return true
end
 
Thanks..rep++ for you..

I want a mana booster script do you have it? if yes can u release it to me please? :huh:
 
hey nice script let me have it for 3.0, if this one is for 3.0 let me know please thanks!
 
Back
Top