View Single Post
DJBosma
Member
Join Date: Dec 2009
Old 03-29-2020 , 14:23   Re: is_user_admin(id) , does not check after map change
Reply With Quote #57

Primarly I've changed
PHP Code:
 if ( !PlayerDataid ][ IsAdmin ]  && 
to
PHP Code:
if ( !PlayerDataid ][ IsAdmin ] ) { 
in client_authorized. Flag distribution is ok, I've removed the check for admins on motd showing, since all players can review the extra's given. The only issue is that if every round it display's to an admin "To become a veteran" and a pro user with flags sees it as well.

PS: Please make all commands as well !skill can still be available to all users.

Last edited by DJBosma; 03-29-2020 at 19:04. Reason: Removed buggy code to avoid misunderstandings
DJBosma is offline