Raised This Month: $51 Target: $400
 12% 

Unapprove please!


Post New Thread Reply   
 
Thread Tools Display Modes
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-12-2012 , 20:54   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #31

Quote:
Originally Posted by Mitchell View Post
But the way you were doing it even if they were to reconnect they would have to put !admins 1 to be able to be seen..
What the heck I did wrong?
__________________
retired
shavit is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-13-2012 , 00:41   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #32

Quote:
Originally Posted by shavit View Post
What the heck I did wrong?
Well you put most of your code in loops, you put '= false;' instead of '{false,...}' which would fix the having to type !admins 1 to be able to be seen issue. Compare the codes.

I do have some errors like GetUserFLagBits on client and not on i though too lazy to fix.

Last edited by Mitchell; 08-13-2012 at 00:41.
Mitchell is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-13-2012 , 06:20   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #33

Quote:
Originally Posted by Mitchell View Post
Well you put most of your code in loops, you put '= false;' instead of '{false,...}' which would fix the having to type !admins 1 to be able to be seen issue. Compare the codes.

I do have some errors like GetUserFLagBits on client and not on i though too lazy to fix.
If you meant
PHP Code:
new bool:adminallowed[MAXPLAYERS+1] = {false, ...}; 
I already did it, and I still think how the heck it isn't in the release.
I upload the new version with the PHP code ^^ when I'll have time.
I did the admin counting in loop. [1 loop, why loops?]
btw I gonna do this check.
PHP Code:
public OnClientPostAdminCheck(client)
{
    if(
CheckCommandAccess(client"sm_admin"ADMFLAG_GENERIC))
    {
        
adminallowed[client] = true;
    }

Much better.
__________________
retired

Last edited by shavit; 08-13-2012 at 06:22.
shavit is offline
sLog
Junior Member
Join Date: Apr 2012
Old 10-09-2012 , 17:24   Re: [ANY] Admin List (2.0.4) [13/August/2012]
Reply With Quote #34

Not working.. v75, no error logs
sLog is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 20:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode