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

Full working VIP System by Shawak

How to use this comands:

!set
!get
!is
!add
!remove

I using you mod vip checker and you vip system.

I tested the mod and ran the thorough and functions well, but ultimately to use the commands, I just know it !add 7, is not to add the VIP to a player?
 
Thanks for releasing! love it !! but i cant download the Talkfuction files :S coud you rehost it ?
 
Very Nice release, Does any of the scripting knowledge members can or could make this compatible with tfs 2.5
 
You don't need talkaction scripst, was only for show how it work.
 
Excellent release, Does any of the scripting knowledge members can or could make this compatible with tfs 2.5
 
03:00 GM: data/lib/function.lua:477: attempt to perform arithmetic on local 'days' (a string value) [20/09/2009 03:58:36] stack traceback: [20/09/2009 03:58:36] data/lib/function.lua:477: in function <data/lib/function.lua:476> [20/09/2009 03:58:36] (tail call):
03:00 GM: 20/09/2009 03:58:57] Lua Script Error: [TalkAction Interface] [20/09/2009 03:58:57] data/talkactions/scripts/vip/set.lua:eek:nSay .




wtf how do i fix this
 
03:00 GM: data/lib/function.lua:477: attempt to perform arithmetic on local 'days' (a string value) [20/09/2009 03:58:36] stack traceback: [20/09/2009 03:58:36] data/lib/function.lua:477: in function <data/lib/function.lua:476> [20/09/2009 03:58:36] (tail call):
03:00 GM: 20/09/2009 03:58:57] Lua Script Error: [TalkAction Interface] [20/09/2009 03:58:57] data/talkactions/scripts/vip/set.lua:eek:nSay .




wtf how do i fix this

Are you using !set 7 or !set "7 ?
ONLY !set 7 work.
The same with !add.. don't use ".
 
hah hah ahah ahah ahahah ahahah
Lua:
function getPlayerVipDays(cid)
        local left, d = (getPlayerStorageValue(cid, vip_storage) - os.time()), 0
        while left >= 86400 do
                left = left - 86400
                d = d+1
        end
        return d
end

??? LOOOP ???? xDDD

Lua:
function getPlayerVipDays(cid)
	return math.ceil(getPlayerStorageValue(cid, vip_storage) / 60 / 60 / 24)
end
 
hah hah ahah ahah ahahah ahahah
Lua:
function getPlayerVipDays(cid)
        local left, d = (getPlayerStorageValue(cid, vip_storage) - os.time()), 0
        while left >= 86400 do
                left = left - 86400
                d = d+1
        end
        return d
end

??? LOOOP ???? xDDD

Lua:
function getPlayerVipDays(cid)
	return math.ceil(getPlayerStorageValue(cid, vip_storage) / 60 / 60 / 24)
end

Ups, will add this later or in new version :D.
 
how to make, that if player is vip he gets extra exp?:)
nice code!
 
Back
Top