• Welcome to Vice City Multiplayer.
 

COMMAND PROBLEM HELP ME

Started by suhail, January 06, 2011, 01:49:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

suhail

    }
  }
  elseif ($3 == subban) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 7.
    elseif ($FBS.Level($1, $2) < 7) vcmp.msg $1 $2 Error, You need to be at least level 7 to use this command.
    elseif (!$4) vcmp.msg $1 $2 Error - Correct Syntax: /c $3 <IP> <Reason>
    elseif ( *.*.*.* !iswm $4) vcmp.msg $1 $2 Incorrect IP
    elseif ($gettok($4,1,46) == $chr(42)) || ($gettok($4,2,46) == $chr(42)) vcmp.msg $1 $2 Incorrect subnet to ban
    else {
      vcmp.say $1 ** Admin $vcmp.name($1, $2) Banned subnet:[ $4 $chr(93) $iif($5-,Reason:[ $5- $chr(93) ,)
      hadd -m bannedsubnets $4 true
      hsave bannedsubnets bannedsubnets.hsh
      !writeini -n fbs.bans.ini SUBBANS $4 Time: $time $+ , Date: $date $+ , Admin $vcmp.name($1, $2) $+ , Reason: $iif($5-,$v1,None)
    }
  }


CHANGE PAWN SCRIPT PLZ HELP