• 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!

VIP Shining

miikro

New Member
Joined
Feb 8, 2011
Messages
32
Reaction score
0
Guys, i wanna know. Have some script about a VIP member is always shining? I mean, do a VIP member, some special around your body. Like a animation, maybe a holy animation (exori san)

Thank you
 
I really really know nothing about script, so is that what you need?

-- Script Vip Sytem 1.0 --
function onStepIn(cid, item, position, fromPosition)

local config = {
msgDenied = "You are not a VIP member.",
msgWelcome = "Welcome to the Vip Area!"
}

if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
return TRUE
end
 
Lua:
function onThink(interval, lastExecution)
	for _, pid in ipairs(getPlayersOnline()) do
		if getPlayerStorageValue(pid, 13540) - os.time() >= 1 then
			doSendMagicEffect(getPlayerPosition(pid), 1024) 
		end 
	end
return TRUE
end
 
Back
Top