Posts: 56
Threads: 15
Joined: May 2016
Reputation:
0
I've CZCNR by shourya
I wanna make a command that see you the players that have admin level but not online
What to do?
if(playerData[playerid][playerLevel])
this is the admin level check but i want the server to check the players that admins in mysql
Posts: 1,147
Threads: 109
Joined: Jul 2013
Reputation:
0
Select all players with adminlevel higher than 0.
Posts: 760
Threads: 22
Joined: May 2011
Reputation:
0
Too many parameters in the format, you only have 3 specifiers but 4 variables.
Any way best way is just to debug these sort of things if you don't see it from first look (use prints for instance).
Posts: 56
Threads: 15
Joined: May 2016
Reputation:
0
That's giving the online admins only
Posts: 311
Threads: 27
Joined: May 2016
Reputation:
0
Well,
You are missing helper in your format. Try adding it
Posts: 56
Threads: 15
Joined: May 2016
Reputation:
0
More explanition please?
i have it like this
if((playerData[i][playerLevel] >= 1 && playerData[i][playerLevel] <= 7) || playerData[i][playerHelper] >= 1)
Posts: 56
Threads: 15
Joined: May 2016
Reputation:
0
It's not the problem now
I've some admins in my server
But not online
I wanna the server display it using any mysql query