SA-MP Forums

Go Back   SA-MP Forums > Other > Everything and Nothing

Reply
 
Thread Tools Display Modes
Old 18/05/2017, 10:07 AM   #1
Stop
Banned
 
Join Date: Apr 2016
Location: USA ,California
Posts: 87
Reputation: 12
Default Admin List

Hey Guys i am not good at mysql in php

anwyways i need to know how to make this admin List ( ik how to make their level , IG and last login etc..)...

i just need to know.. how to just make admins in this web instead of all registered players...


+rep in advance


Note : this isn't a adv
Stop is offline   Reply With Quote
Old 18/05/2017, 12:52 PM   #2
Roozevelt
Gangsta
 
Roozevelt's Avatar
 
Join Date: Jan 2016
Location: Tunsia
Posts: 601
Reputation: 116
Default Re: Admin List

I don't understand you, what do you exactly need, be specific!!.
__________________
Left SA-MP.
Roosevelt's stunt map pack : Click here
SEF community
Join now

Roozevelt is offline   Reply With Quote
Old 18/05/2017, 12:58 PM   #3
BroZeus
High-roller
 
BroZeus's Avatar
 
Join Date: Jan 2014
Location: India
Posts: 1,393
Reputation: 158
Default Re: Admin List

You need to change query in .php file. Currently it will be something like "SELECT * FROM `tableName`". You need to do something like :
Code:
SELECT * FROM `tableName` WHERE adminLevel > 0
__________________


"Be the change that you wish to see in the world."

Check out my Github profile!
BroZeus is offline   Reply With Quote
Old 18/05/2017, 05:08 PM   #4
Stop
Banned
 
Join Date: Apr 2016
Location: USA ,California
Posts: 87
Reputation: 12
Default Re: Admin List

Quote:
Originally Posted by BroZeus View Post
You need to change query in .php file. Currently it will be something like "SELECT * FROM `tableName`". You need to do something like :
Code:
SELECT * FROM `tableName` WHERE adminLevel > 0
Code:
('SELECT playerName,playerAdminLevel,playerStatus, playerLastLogin FROM playeraccounts WHERE playerAdminLevel > 0 ORDER BY playerAdminLevel DESC');
this?
Stop is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP] admin list Luca12 Scripting Help 6 10/05/2014 02:56 PM
Admin List Help AwokenNeoX Scripting Help 2 28/02/2014 03:46 PM
Admin only appears on Admin list after doing /onduty Goldino Scripting Help 4 21/02/2013 08:06 PM
Admin List TyThaBomb Scripting Help 1 22/06/2012 04:10 AM
Admin list Crazyboobs Scripting Help 3 09/06/2012 03:10 PM


All times are GMT. The time now is 07:01 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.