[+] Add Command for Admin /setweaponrack , /rmweaponrack and for Leader /setweaponrank
+ Add blip alpha channel for Players (set to 125) + Add blip color for Player with Wanted - Removed WeaponHash from DB entry FactionWeapons (Deprecated)
This commit is contained in:
@@ -402,8 +402,6 @@ namespace ReallifeGamemode.Migrations
|
||||
|
||||
b.Property<int>("slotID");
|
||||
|
||||
b.Property<int>("weaponHash");
|
||||
|
||||
b.Property<string>("weaponModel");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
@@ -14,7 +14,6 @@ namespace ReallifeGamemode.Migrations
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
|
||||
FactionId = table.Column<int>(nullable: false),
|
||||
WeaponHash = table.Column<int>(nullable: false),
|
||||
WeaponModel = table.Column<string>(nullable: true),
|
||||
SlotID = table.Column<int>(nullable: false),
|
||||
Rank = table.Column<int>(nullable: false)
|
||||
|
||||
1234
ReallifeGamemode.Server/Migrations/20190721184931_FactionWeaponsRemovedHash.Designer.cs
generated
Normal file
1234
ReallifeGamemode.Server/Migrations/20190721184931_FactionWeaponsRemovedHash.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,23 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ReallifeGamemode.Migrations
|
||||
{
|
||||
public partial class FactionWeaponsRemovedHash : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "WeaponHash",
|
||||
table: "FactionWeapons");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "WeaponHash",
|
||||
table: "FactionWeapons",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -400,8 +400,6 @@ namespace ReallifeGamemode.Migrations
|
||||
|
||||
b.Property<int>("SlotID");
|
||||
|
||||
b.Property<int>("WeaponHash");
|
||||
|
||||
b.Property<string>("WeaponModel");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
Reference in New Issue
Block a user