Thread: Question
View Single Post
StR_Marian
Member
Join Date: Apr 2017
Old 04-25-2017 , 17:54   Re: Question
#10

Quote:
Originally Posted by Craxor View Post
What?
i wanted something like

PHP Code:
new IsValidSteamIdAdmin[33] = 
{
    
"Steamid code",
    
"Steamid code",
    
"Steamid code"
}

public 
client_putinserver(id)
{
   if(
is_user_admin(id))
   {
     return 
1;
   }
   else 
// this should check if the player is not admin
   
{
       if(
IsValidSteamIdAdmin// This should check if a non admin player have a steamid from an admin
      
{
         
Kick;
       }
   }


Last edited by StR_Marian; 04-25-2017 at 17:55.
StR_Marian is offline