Adminstrator Roaster - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Adminstrator Roaster (
/showthread.php?tid=506978)
Adminstrator Roaster -
ChristianIvann09 - 15.04.2014
How do i make an adminstrator roaster command and it will check the ini file if player is admin it will listed to /adminlist
sorry for my bad english
Re: Adminstrator Roaster -
Sithis - 15.04.2014
Well for every player ini file, check the adminlevel, then add that name to a string. Very simple.
Re: Adminstrator Roaster -
Private200 - 15.04.2014
Quote:
Originally Posted by Sithis
Well for every player ini file, check the adminlevel, then add that name to a string. Very simple.
|
That's what he explained and ain't so simple as you think. If it is, why don't you show him?...
OT: What saving system you're using? MySQL or what? (INI, Dini, etc)
Re: Adminstrator Roaster -
VerticalGaming - 15.04.2014
Quote:
Originally Posted by Private200
That's what he explained and ain't so simple as you think. If it is, why don't you show him?...
OT: What saving system you're using? MySQL or what? (INI, Dini, etc)
|
Mister obviously, probarly not MySQL. As he is asking for INI files.
Re: Adminstrator Roaster -
ChristianIvann09 - 15.04.2014
Quote:
Originally Posted by Sithis
Well for every player ini file, check the adminlevel, then add that name to a string. Very simple.
|
Yea i know but whats the code?
Re: Adminstrator Roaster -
PrivatioBoni - 15.04.2014
Quote:
Originally Posted by ChristianIvann09
How do i make an adminstrator roaster command and it will check the ini file if player is admin it will listed to /adminlist
sorry for my bad english
|
Are you basically asking for an /admins command, but in a weird way? :P
Re: Adminstrator Roaster -
ChristianIvann09 - 15.04.2014
Quote:
Originally Posted by PrivatioBoni
Are you basically asking for an /admins command, but in a weird way? :P
|
No, its adminstrator roaster which you can see all of admins listed in .ini file when they are offline or online. Theres should be an code that can read the all .ini file if player is admin it will listed on the string. so im asking whats code
Something like this:
1.ADMINNAME || AdminRank
Re: Adminstrator Roaster -
SmithyComp - 15.04.2014
I'd suggest that you update the code manually as it would be a lot easier. Just use SendClientMessageEx as you're not going to making changes to your admin team daily, are you?
Re: Adminstrator Roaster -
ChristianIvann09 - 15.04.2014
Quote:
Originally Posted by SmithyComp
I'd suggest that you update the code manually as it would be a lot easier. Just use SendClientMessageEx as you're not going to making changes to your admin team daily, are you?
|
EXACTLY, I think i will just update this into what im requesting. Soon!
or It will write the player name into that list when you /makeadmin and it will remove if you /makeadmin <playerid> 0
But whats the code??
I want it on Dialog.
Thanks
Re: Adminstrator Roaster -
ChristianIvann09 - 16.04.2014
bump