• Welcome to Vice City Multiplayer.
 

HI FIREMDS

Started by suhail, January 22, 2011, 11:48:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

suhail

SET PAWN SCIRPT PLZ

   else if ( cmd == "unban" )
   {
      local check = Required( player, cmd, Level );
      
      if ( check )
      {
         if ( !text ) PrivMessage( "Error - Invalid Format. /c unban <ip>", player );
         else if ( NumTok( text, "." ) != 4 ) PrivMessage( "Error - Invalid IP format.", player );
         else
         {
            local bancheck = HGet( "FBSBanInfo", text );
            
            if ( !bancheck ) PrivMessage( "Error - This IP has not been banned.", player );
            else
            {
               local plr = GetTok( bancheck, ", ", 1 );
               Message( "* Admin " + player + " has unbanned:[ " + plr + " ]" );
               HDel( "FBSBanInfo", text );
               UnbanIP( text );
            }
         }
      }      
   }

-TriX-



www.life-urban.co.cc

shivambansal