public static void LoadGangSkin(GangwarPlayer playerClass, int Gang) { try { playerClass.Model = Alt.Hash("mp_m_freemode_01"); playerClass.SetClothes(0, 0, 0); playerClass.SetClothes(1, 0, 0); playerClass.SetClothes(2, 0, 0); playerClass.SetClothes(3, 0, 0); playerClass.SetClothes(4, 0, 0); playerClass.SetClothes(5, 0, 0); playerClass.SetClothes(6, 0, 0); playerClass.SetClothes(7, 0, 0); playerClass.SetClothes(8, 0, 0); playerClass.SetClothes(9, 0, 0); playerClass.SetClothes(10, 0, 0); playerClass.SetClothes(11, 0, 0); GiveRandomHair(playerClass); switch (Gang) { case (int)Teams.LSPD: playerClass.SetClothes(0, 0, 0); playerClass.SetClothes(1, 0, 0); playerClass.SetClothes(2, -1, -1); playerClass.SetClothes(3, 0, 0); playerClass.SetClothes(4, 35, 0); playerClass.SetClothes(5, 0, 0); playerClass.SetClothes(6, 25, 0); playerClass.SetClothes(7, 0, 0); playerClass.SetClothes(8, 58, 0); playerClass.SetClothes(9, 0, 0); playerClass.SetClothes(10, 0, 0); playerClass.SetClothes(11, 55, 0); break; case (int)Teams.LCN: playerClass.SetClothes(0, 0, 0); playerClass.SetClothes(1, 0, 0); playerClass.SetClothes(2, -1, -1); playerClass.SetClothes(3, 4, 0); playerClass.SetClothes(4, 28, 0); playerClass.SetClothes(5, 0, 0); playerClass.SetClothes(6, 21, 0); playerClass.SetClothes(7, 0, 0); playerClass.SetClothes(8, 33, 0); playerClass.SetClothes(9, 0, 0); playerClass.SetClothes(10, 0, 0); playerClass.SetClothes(11, 29, 0); break; case (int)Teams.YAKUZA: playerClass.SetClothes(2, -1, -1); playerClass.SetClothes(5, 0, 0); playerClass.SetClothes(7, 0, 0); playerClass.SetClothes(8, 15, 0); playerClass.SetClothes(9, 0, 0); playerClass.SetClothes(10, 0, 0); playerClass.SetClothes(0, 0, 0); playerClass.SetClothes(1, -1, 0); playerClass.SetClothes(11, 107, 2); playerClass.SetClothes(3, 33, 0); playerClass.SetClothes(4, 33, 0); playerClass.SetClothes(6, 81, 0); break; case (int)Teams.FIB: playerClass.SetClothes(0, -1, -1); playerClass.SetClothes(1, 0, 0); playerClass.SetClothes(2, -1, -1); playerClass.SetClothes(3, 11, 0); playerClass.SetClothes(4, 10, 0); playerClass.SetClothes(5, -1, -1); playerClass.SetClothes(6, 10, 0); playerClass.SetClothes(7, 12, 2); playerClass.SetClothes(8, 15, 0); playerClass.SetClothes(9, 0, 0); playerClass.SetClothes(10, -1, 0); playerClass.SetClothes(11, 13, 0); break; case (int)Teams.NARCOS: playerClass.SetClothes(0, 8, -1); playerClass.SetClothes(1, 0, 0); playerClass.SetClothes(2, -1, -1); playerClass.SetClothes(3, 11, 0); playerClass.SetClothes(4, 22, 0); playerClass.SetClothes(5, 0, -1); playerClass.SetClothes(6, 21, 5); playerClass.SetClothes(7, 0, 0); playerClass.SetClothes(8, 15, 0); playerClass.SetClothes(9, 0, 0); playerClass.SetClothes(10, 0, 0); playerClass.SetClothes(11, 13, 1); break; case (int)Teams.USARMY: playerClass.SetClothes(4, 86, 8); playerClass.SetClothes(11, 220, 8); playerClass.SetClothes(8, 130, 0); playerClass.SetClothes(6, 24, 0); playerClass.SetClothes(2, 2, 4); playerClass.SetProp(0, 107, 8); break; case (int)Teams.SAMCRO: playerClass.SetClothes(0, -1, -1); playerClass.SetClothes(1, 0, 0); playerClass.SetClothes(2, -1, -1); playerClass.SetClothes(3, 2, 0); playerClass.SetClothes(4, 76, 1); playerClass.SetClothes(5, -1, -1); playerClass.SetClothes(6, 25, 0); playerClass.SetClothes(7, 0, 0); playerClass.SetClothes(8, 14, 0); playerClass.SetClothes(9, 0, 0); playerClass.SetClothes(10, -1, 0); playerClass.SetClothes(11, 175, 3); break; case (int)Teams.ROLLINHEIGHTS: playerClass.SetClothes(11, 306, 9); playerClass.SetClothes(8, 15, 0); playerClass.SetClothes(6, 26, 0); playerClass.SetClothes(4, 31, 0); playerClass.SetClothes(1, 111, 2); playerClass.SetClothes(3, 4, 0); break; case (int)Teams.COMPTONFAMILYS: playerClass.SetClothes(1, 111, 0); playerClass.SetClothes(3, 4, 0); playerClass.SetClothes(4, 31, 0); playerClass.SetClothes(6, 7, 0); playerClass.SetClothes(11, 143, 0); playerClass.SetClothes(8, 15, 0); break; } } catch { } }
public static void GiveRandomHair(GangwarPlayer playerClass) { try { Random random = new Random(); int randomid = random.Next(0, 18); switch (randomid) { case 0: playerClass.SetClothes(2, 6, 4); break; case 1: playerClass.SetClothes(2, 7, 4); break; case 2: playerClass.SetClothes(2, 2, 3); break; case 3: playerClass.SetClothes(2, 2, 4); break; case 4: playerClass.SetClothes(2, 14, 4); break; case 5: playerClass.SetClothes(2, 25, 3); break; case 7: playerClass.SetClothes(2, 38, 4); break; case 8: playerClass.SetClothes(2, 57, 3); break; case 9: playerClass.SetClothes(2, 57, 4); break; case 10: playerClass.SetClothes(2, 72, 3); break; case 11: playerClass.SetClothes(2, 72, 4); break; case 12: playerClass.SetClothes(2, 74, 3); break; case 13: playerClass.SetClothes(2, 54, 4); break; case 14: playerClass.SetClothes(2, 32, 4); break; case 15: playerClass.SetClothes(2, 32, 3); break; case 16: playerClass.SetClothes(2, 8, 4); break; case 17: playerClass.SetClothes(2, 8, 2); break; case 18: playerClass.SetClothes(2, 8, 2); break; } } catch (Exception ex) { Core.Debug.CatchException(ex); } }