Add Dynamic Cloth Changing
This commit is contained in:
@@ -96,24 +96,24 @@ namespace reallife_gamemode.Server.Events
|
||||
if (nearest == null) return;
|
||||
if (player.Position.DistanceTo(nearest.Position) <= 1.5 && nearest.FactionId == user.FactionId)
|
||||
{
|
||||
int[] hats;
|
||||
int[] tops;
|
||||
int[] legs;
|
||||
int[] shoes;
|
||||
string[] hats;
|
||||
string[] tops;
|
||||
string[] legs;
|
||||
string[] shoes;
|
||||
|
||||
if(user.GetCharacter().Gender == false) //Wenn männlich
|
||||
{
|
||||
hats = new int[] { -1, 5, 12, 39, 46, 123, 124, 125};
|
||||
tops = new int[] { -1, 55, 26};
|
||||
legs = new int[] { -1, 24, 28 };
|
||||
shoes = new int[] { -1, 24, 25};
|
||||
hats = new string[] { "Keinen", "5", "12", "39", "46", "123", "124", "125"};
|
||||
tops = new string[] { "55", "26"};
|
||||
legs = new string[] { "24", "28" };
|
||||
shoes = new string[] { "24", "25"};
|
||||
}
|
||||
else
|
||||
{
|
||||
hats = new int[] { -1, 12, 38, 45, 122, 123, 124 };
|
||||
tops = new int[] { -1, 48, 43 };
|
||||
legs = new int[] { -1, 34, 37, 102 };
|
||||
shoes = new int[] { -1, 24, 25 };
|
||||
hats = new string[] { "Keinen", "12", "38", "45", "122", "123", "124" };
|
||||
tops = new string[] { "48", "43" };
|
||||
legs = new string[] { "34", "37", "102" };
|
||||
shoes = new string[] { "24", "25" };
|
||||
}
|
||||
|
||||
player.TriggerEvent("showDutyClothMenu", hats, tops, legs, shoes);
|
||||
|
||||
Reference in New Issue
Block a user