Quote:
Originally Posted by Mitchell
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 loop
s?]
btw I gonna do this check.
PHP Code:
public OnClientPostAdminCheck(client)
{
if(CheckCommandAccess(client, "sm_admin", ADMFLAG_GENERIC))
{
adminallowed[client] = true;
}
}
Much better.
__________________