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

[REQEST] VIP ITEM Script

DerianX

New Member
Joined
Jul 19, 2009
Messages
19
Reaction score
0
I need a script that only vip can use this item and say that when a player wants to use VIPS CAN ONLY USE THIS ITEM
 
A script to set a storage value for VIP? 0.o

Code:
local config = 
{
	item = 8978, --Make this the item id of your scroll
	level = 1, -- Make this the level required to use it
	storage = 1595 -- Make this the storage value for ur VIP
}

function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= config.level then
		doPlayerSendTextMessage(cid, 21, "You are now VIP!")
		setPlayerStorageValue(cid,config.storage,1)
		doRemoveItem(cid, item.uid, 1)
	else
		doPlayerSendCancel(cid, "Sorry, your level is to low to use this scroll.")
	end   
	return 1
end
 
No man i need a script to make a item vip like VIP Sword - Only vips can use this sword, if u no r a vip u cant use the item.

but thanks for the script i put in my server and work but i change the scroll for the medal of honour ;D
 
Back
Top