• 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 check error

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,812
Solutions
6
Reaction score
822
Code:
[20/11/2010 00:11:43] Magician has logged in.

[20/11/2010 00:11:43] [Error - CreatureScript Interface] 
[20/11/2010 00:11:43] data/creaturescripts/scripts/vipcheck.lua:onLogin
[20/11/2010 00:11:43] Description: 
[20/11/2010 00:11:43] data/creaturescripts/scripts/vipcheck.lua:3: attempt to call global 'getPlayerVipDays' (a nil value)
[20/11/2010 00:11:43] stack traceback:
[20/11/2010 00:11:43] 	data/creaturescripts/scripts/vipcheck.lua:3: in function <data/creaturescripts/scripts/vipcheck.lua:2>

[20/11/2010 00:11:44] [Error - CreatureScript Interface] 
[20/11/2010 00:11:44] buffer:onLogin
[20/11/2010 00:11:44] Description: 
[20/11/2010 00:11:44] [string "loadBuffer"]:4: attempt to call global 'getPlayerVipDays' (a nil value)
[20/11/2010 00:11:44] stack traceback:
[20/11/2010 00:11:44] 	[string "loadBuffer"]:4: in function <[string "loadBuffer"]:2>
[20/11/2010 00:11:44] Magician has logged out.
rep__ for fixer
 
idk 5mok3

here is my vipcheck:
Code:
--- Script by Kekox
function onLogin(cid)
         if getPlayerVipDays(cid) >= 1 then
            doPlayerSendTextMessage(cid, 19, "You have ".. getPlayerVipDays(cid) .." vip days left.")
         end
         return true
end
 
Back
Top