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

!changesex discount 7 VIP DAYS

guigui768

New Member
Joined
Oct 11, 2010
Messages
81
Reaction score
1
I would like a changesex scrpit that discount 7 VIP TIME DAYS.
I use Mock vip system..
 
Lua:
local t = {
	vip = 58241, -- VIP storage.
	takedays = 7 -- how many days will be paid.
	}

function onSay(cid,words,param)
	if getPlayerStorageValue(cid,t.vip) > t.takedays then
		doPlayerSetSex(cid,(getPlayerSex(cid) == 0 and 1 or 0))
		setPlayerStorageValue(cid,t.vip,getPlayerStorageValue(cid,t.vip)-t.takedays)
		doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have changed sex and paid '..t.takedays..' days of VIP!')
		doSendMagicEffect(getThingPos(cid),CONST_ME_MAGIC_GREEN)
	else
		doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You don\'t have '..t.takedays..' VIP days.')
		doSendMagicEffect(getThingPos(cid),CONST_ME_POFF)
	end
	return true
end

here you go :) 420
 
Back
Top