コード例 #1
0
ファイル: Police.php プロジェクト: ryden/ItalyMafia-3.0
 public function __construct($name, $color, $bank, $maxvehicles, $maxmembers, $membercount)
 {
     /* Create the faction */
     parent::__construct($name, $color, $bank, $maxvehicles, $maxmembers, $membercount);
     /* Register ranks */
     parent::RegisterRank(0, 'Chief', MEMBER_ALLOWALL, 280);
     parent::RegisterRank(1, 'Cadet', MEMBER_ALLOWBANK, 280);
 }
コード例 #2
0
ファイル: Corleone.php プロジェクト: ryden/ItalyMafia-3.0
 public function __construct($name, $color, $bank, $maxvehicles, $maxmembers, $membercount)
 {
     /* Create the faction */
     parent::__construct($name, $color, $bank, $maxvehicles, $maxmembers, $membercount);
     /* Create the ranks */
     parent::RegisterRank(0, 'Godfather', MEMBER_ALLOWALL, 120, 216);
     parent::RegisterRank(1, 'Right Hand', MEMBER_ALLOWALL, 240, 216);
     parent::RegisterRank(2, 'Consigliere', 0, 165, 169);
     parent::RegisterRank(3, 'Capo', 0);
     parent::RegisterRank(4, 'Soldier', 0);
     parent::RegisterRank(5, 'Scagnozzo', 0);
     parent::RegisterRank(6, 'Picciotto', 0);
 }
コード例 #3
0
 public function __construct($name, $color, $bank, $maxvehicles, $maxmembers, $membercount)
 {
     parent::__construct($name, $color, $bank, $maxvehicles, $maxmembers, $membercount);
     parent::RegisterRank(0, 'Capo dei capi', MEMBER_ALLOWALL, 186);
 }