Error:
Syntax error: table index is nil
stack traceback:
1: main of file `C:\PtokaX\scripts\Bot-Builder.lua' at line 27
Table:
-----------------------------------------------------------
-- Profiles (Profile Part)
CHECK = {
-- Hub Owner Profile
[nil] = {
[MINSHARE] = nil,
[MAXSHARE] = nil,
---> this line [CLIENTCHECK] = nil,
},
-- Master Profile
[0] = {
[MINSHARE] = 0,
[MAXSHARE] = 1000,
[CLIENTCHECK] = 0,
},
-- Moderator Profile
[nil] = {
[MINSHARE] = nil,
[MAXSHARE] = nil,
[CLIENTCHECK] = nil,
},
-- Super Operator Profile
[nil] = {
[MINSHARE] = nil,
[MAXSHARE] = nil,
[CLIENTCHECK] = nil,
},
-- Operator Profile
[1] = {
[MINSHARE] = 0,
[MAXSHARE] = 1000,
[CLIENTCHECK] = 0,
},
-- VIP Profile
[2] = {
[MINSHARE] = 20,
[MAXSHARE] = 500,
[CLIENTCHECK] = 1,
},
-- REG Profile
[3] = {
[MINSHARE] = 15,
[MAXSHARE] = 400,
[CLIENTCHECK] = 1,
},
-- Newbie Profile
[nil] = {
[MINSHARE] = nil,
[MAXSHARE] = nil,
[CLIENTCHECK] = nil,
},
-- User Profile
[-1] = {
[MINSHARE] = 10,
[MAXSHARE] = 300,
[CLIENTCHECK] = 1,
},
}
plz help me... don't get what is wrong...
it even tells you.. you cant index by nil
well hes right and thatsbecause you are teling it its nil lol, so nil is not valid and its being told to use a nil value....
notice that to.. after my eyes had come clear... hehe
have fixed it in another way...
*DELETE THREAD*