# Skin Of Player
Grammar — Skin of player p
Flags —Native
|Function
Returns the skin of the player.
# Arguments
int
— Player
Returns — string
<gamelink::Skin>
native string PlayerSkin(int inPlayer);
# Related
Category: Player / Player Settings
- Modify Player Property (Integer) —
void
— PlayerModifyPropertyInt - Modify Player Property (Real) —
void
— PlayerModifyPropertyFixed - Player Property (Integer) —
int
— PlayerGetPropertyInt - Player Property (Real) —
fixed
— PlayerGetPropertyFixed - Modify Player Score (Integer) —
void
— PlayerScoreValueSetFromInt - Modify Player Score (Real) —
void
— PlayerScoreValueSetFromFixed - Player Score Value (Integer) —
int
— PlayerScoreValueGetAsInt - Player Score Value (Real) —
fixed
— PlayerScoreValueGetAsFixed - Turn Player Flag On/Off —
void
— PlayerSetState - Player Flag Check —
bool
— PlayerGetState - Player License Check —
bool
— PlayerHasLicense - Player Access Check —
bool
— PlayerHasAccessTo - Player Has Reward —
bool
— PlayerHasReward - Player Has Talent —
bool
— PlayerHasTalent - Name Of Player —
text
— PlayerName - Handle Of Player —
string
— PlayerHandle - Race Of Player —
string
<gamelink::Race> — PlayerRace - Hero Of Player —
string
<gamelink::Hero> — PlayerHero - Skin Of Player —
string
<gamelink::Skin> — PlayerSkin - Mount Of Player —
string
<gamelink::Mount> — PlayerMount - Spray Of Player —
string
<gamelink::Spray> — PlayerSpray - Artifact Of Player —
string
<gamelink::Artifact> — PlayerArtifact - Artifact Rank Of Player —
int
— PlayerArtifactRank - Commander Of Player —
string
<gamelink::Commander> — PlayerCommander - Commander Level Of Player —
int
— PlayerCommanderLevel - Commander Mastery Level Of Player —
int
— PlayerCommanderMasteryLevel - Commander Mastery Talent Rank Of Player —
int
— PlayerCommanderMasteryTalentRank - Commander Selected Prestige Of Player —
int
— PlayerCommanderSelectedPrestige - Brutal Plus Difficulty of Player —
int
— PlayerBrutalPlusDifficulty - Retry Mutation Index of Player —
int
— PlayerRetryMutation - Allied Commander Enemy Wave Type —
int
— PlayerACEnemyWaveType - Start Location Of Player —
point
— PlayerStartLocation - Controller Of Player —
int
<preset::PlayerController> — PlayerType - Status Of Player —
int
<preset::PlayerStatus> — PlayerStatus - Set Player Color —
void
— PlayerSetColorIndex - Set Player Race —
void
— PlayerSetRace - Set Player Hero —
void
— PlayerSetHero - Set Player Skin —
void
— PlayerSetSkin - Set Player Console Skin —
void
— PlayerSetConsoleSkin - Apply Player Skin —
void
— PlayerApplySkin - Apply Player Skin (Replacing Existing Unit) —
void
— libNtve_gf_PlayerApplySkinReplacingExistingUnit - Set Player Mount —
void
— PlayerSetMount - Set Player Spray —
void
— PlayerSetSpray - Set Player Commander —
void
— PlayerSetCommander - Set Player Commander Level —
void
— PlayerSetCommanderLevel - Set Player Commander Mastery Level —
void
— PlayerSetCommanderMasteryLevel - Set Player Death Timer —
void
— PlayerSetDeathTimer - Set Player Bounds —
void
— PlayerSetBounds - Add Player Talent —
void
— PlayerAddTalent - Remove Player Talent —
void
— PlayerRemoveTalent - Add Player Response —
void
— PlayerAddResponse - Remove Player Response —
void
— PlayerRemoveResponse - Clear Player Response —
void
— PlayerClearResponse - Player Color —
int
<playercolor> — PlayerGetColorIndex - Override Player Option —
void
— PlayerOptionOverride - Player Hotkey Profile —
string
— PlayerGetHotkeyProfile - Player Property Changed —
void
— TriggerAddEventPlayerPropChange - Player Joins Game —
void
— TriggerAddEventPlayerJoin - Player Leaves Game —
void
— TriggerAddEventPlayerLeft - Triggering Player —
int
— EventPlayer - Triggering Player Property —
int
<preset::Player_Property_Get> — EventPlayerProperty - Triggering Player Property Change (Integer) —
int
— EventPlayerPropertyChangeInt - Triggering Player Property Change (Real) —
fixed
— EventPlayerPropertyChangeFixed - Player Add Label —
void
— PlayerAddLabel - Player Remove Label —
void
— PlayerRemoveLabel - Player Remove All Labels —
void
— PlayerRemoveAllLabels - Player Has Label —
bool
— PlayerHasLabel - Player Add Reward —
void
— PlayerAddReward
# Examples
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:375
}
else {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
}
PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, gv_pLAYER_AI_Ally_C);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:687
}
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
libUIUI_gv_uIDebugPanelSpawnAtCamera = false;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:375
}
else {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
}
PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, gv_pLAYER_AI_Ally_C);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:687
}
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
libUIUI_gv_uIDebugPanelSpawnAtCamera = false;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmod — base.stormdata/LibPBUI.galaxy:1299
if ((libPBUI_gv_curateHeroSelectionSetting.lv_lockedIn[lp_player] == true) && (libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroRow[lp_player] > 0) && (libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroCol[lp_player] > 0)) {
libNtve_gf_SetDialogItemHeroLink(libPBUI_gv_curateHeroSelectionUI.lv_heroContainerFrame[lv_displayColumn], libPBUI_gv_curateHeroSelections[libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroRow[lp_player]][libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroCol[lp_player]], libCore_gv_playerGroupFromPlayer[lv_itViewer]);
libNtve_gf_SetDialogItemSkinLink(libPBUI_gv_curateHeroSelectionUI.lv_heroContainerFrame[lv_displayColumn], PlayerSkin(lp_player), libCore_gv_playerGroupFromPlayer[lv_itViewer]);
DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_heroCutsceneFrame[lv_displayColumn], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEU.galaxy:1314
if ((libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedIn[lp_player] == true) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroRow[lp_player] > 0) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroCol[lp_player] > 0)) {
libNtve_gf_SetDialogItemHeroLink(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroContainerFrame[lv_displayColumn], libPVEU_gv_pvEUICurateHeroSelections[libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroRow[lp_player]][libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroCol[lp_player]], libCore_gv_playerGroupFromPlayer[lv_itViewer]);
libNtve_gf_SetDialogItemSkinLink(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroContainerFrame[lv_displayColumn], PlayerSkin(lp_player), libCore_gv_playerGroupFromPlayer[lv_itViewer]);
DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroCutsceneFrame[lv_displayColumn], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
}
mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod — base.stormdata/LibIGHS.galaxy:1381
if ((lp_showOrHide == true)) {
libNtve_gf_SetDialogItemHeroLink(libIGHS_gv_shuffleUI.lv_heroContainerFrame[lv_displayColumn], libIGHS_gv_shuffleSettings.lv_players[lp_player].lv_heroPickOptions[libIGHS_gv_shuffleSettings.lv_players[lp_player].lv_currentOptionSelected], PlayerGroupSingle(lv_viewer));
libNtve_gf_SetDialogItemSkinLink(libIGHS_gv_shuffleUI.lv_heroContainerFrame[lv_displayColumn], PlayerSkin(lp_player), PlayerGroupSingle(lv_viewer));
DialogControlSetVisible(libIGHS_gv_shuffleUI.lv_heroCutsceneFrame[lv_displayColumn], PlayerGroupSingle(lv_viewer), true);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16192
SoundPlayForPlayer(SoundLink("Medic_MedivacDropship_2D_On", -1), c_maxPlayers, PlayerGroupSingle(lv_player), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("Medic_MedivacDropship_2D_BG", -1), c_maxPlayers, PlayerGroupSingle(lv_player), 100.0, 0.0);
if (((PlayerSkin(lv_ownerOfTransport) == "MedicSkinLove") || (PlayerSkin(lv_ownerOfTransport) == "MedicSkinLoveVar1") || (PlayerSkin(lv_ownerOfTransport) == "MedicSkinLoveVar2"))) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacLoveOverlay.StormCutscene", lv_triggeringBehavior);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16192
SoundPlayForPlayer(SoundLink("Medic_MedivacDropship_2D_On", -1), c_maxPlayers, PlayerGroupSingle(lv_player), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("Medic_MedivacDropship_2D_BG", -1), c_maxPlayers, PlayerGroupSingle(lv_player), 100.0, 0.0);
if (((PlayerSkin(lv_ownerOfTransport) == "MedicSkinLove") || (PlayerSkin(lv_ownerOfTransport) == "MedicSkinLoveVar1") || (PlayerSkin(lv_ownerOfTransport) == "MedicSkinLoveVar2"))) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacLoveOverlay.StormCutscene", lv_triggeringBehavior);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16192
SoundPlayForPlayer(SoundLink("Medic_MedivacDropship_2D_On", -1), c_maxPlayers, PlayerGroupSingle(lv_player), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("Medic_MedivacDropship_2D_BG", -1), c_maxPlayers, PlayerGroupSingle(lv_player), 100.0, 0.0);
if (((PlayerSkin(lv_ownerOfTransport) == "MedicSkinLove") || (PlayerSkin(lv_ownerOfTransport) == "MedicSkinLoveVar1") || (PlayerSkin(lv_ownerOfTransport) == "MedicSkinLoveVar2"))) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacLoveOverlay.StormCutscene", lv_triggeringBehavior);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16195
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacLoveOverlay.StormCutscene", lv_triggeringBehavior);
}
else if (((PlayerSkin(lv_ownerOfTransport) == "MedicEnforcer") || (PlayerSkin(lv_ownerOfTransport) == "MedicEnforcerVar3") || (PlayerSkin(lv_ownerOfTransport) == "MedicEnforcerVar1"))) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacEnforcerOverlay.StormCutscene", lv_triggeringBehavior);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16195
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacLoveOverlay.StormCutscene", lv_triggeringBehavior);
}
else if (((PlayerSkin(lv_ownerOfTransport) == "MedicEnforcer") || (PlayerSkin(lv_ownerOfTransport) == "MedicEnforcerVar3") || (PlayerSkin(lv_ownerOfTransport) == "MedicEnforcerVar1"))) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacEnforcerOverlay.StormCutscene", lv_triggeringBehavior);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16195
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacLoveOverlay.StormCutscene", lv_triggeringBehavior);
}
else if (((PlayerSkin(lv_ownerOfTransport) == "MedicEnforcer") || (PlayerSkin(lv_ownerOfTransport) == "MedicEnforcerVar3") || (PlayerSkin(lv_ownerOfTransport) == "MedicEnforcerVar1"))) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(lv_player, libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_MedivacEnforcerOverlay.StormCutscene", lv_triggeringBehavior);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21797
if ((UnitTestState(lv_eatenUnit, c_unitStateHallucination) == false) && (UnitIsAlive(lv_eatenUnit) == true) && (UnitHasBehavior2(lv_eatenUnit, "HeroGenericIgnoreFullscreenOverlay") == false)) {
if ((PlayerSkin(lv_stitchesPlayer) == "StitchesToys18")) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_eatenUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_GorgeToys18Overlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21800
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_eatenUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_GorgeToys18Overlay.StormCutscene", EventUnitBehavior());
}
else if ((PlayerSkin(lv_stitchesPlayer) == "StitchesToys18Var1")) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_eatenUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_GorgeToys18Var1Overlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21803
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_eatenUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_GorgeToys18Var1Overlay.StormCutscene", EventUnitBehavior());
}
else if ((PlayerSkin(lv_stitchesPlayer) == "StitchesToys18Var2")) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_eatenUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_GorgeToys18Var2Overlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21806
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_eatenUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_GorgeToys18Var2Overlay.StormCutscene", EventUnitBehavior());
}
else if ((PlayerSkin(lv_stitchesPlayer) != "StitchesToys18Var1") && (PlayerSkin(lv_stitchesPlayer) != "StitchesToys18") && (PlayerSkin(lv_stitchesPlayer) != "StitchesToys18Var2")) {
libUIUI_gf_FullscreenOverlayAddItemForPlayer(UnitGetOwner(lv_eatenUnit), libUIUI_ge_FullscreenOverlayPriorities_Stasis, "Cutscenes\\GameUI_GorgeOverlay.StormCutscene", EventUnitBehavior());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5516
}
lv_choSelectedSkin = PlayerSkin(lp_choPlayerID);
lv_gallSelectedSkin = PlayerSkin(lv_gallPlayerID);
lv_choSelectedSkinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink(lv_choSelectedSkin);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5517
lv_choSelectedSkin = PlayerSkin(lp_choPlayerID);
lv_gallSelectedSkin = PlayerSkin(lv_gallPlayerID);
lv_choSelectedSkinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink(lv_choSelectedSkin);
lv_gallSelectedSkinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink(lv_gallSelectedSkin);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5520
lv_choSelectedSkinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink(lv_choSelectedSkin);
lv_gallSelectedSkinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink(lv_gallSelectedSkin);
if ((PlayerSkin(lv_gallPlayerID) == "")) {
if ((PlayerSkin(lp_choPlayerID) == "")) {
lv_randomNumber = RandomInt(0, 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5521
lv_gallSelectedSkinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink(lv_gallSelectedSkin);
if ((PlayerSkin(lv_gallPlayerID) == "")) {
if ((PlayerSkin(lp_choPlayerID) == "")) {
lv_randomNumber = RandomInt(0, 1);
if ((lv_randomNumber == 1)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5541
}
else {
if ((PlayerSkin(lp_choPlayerID) == "")) {
libGame_gv_players[lp_choPlayerID].lv_selectedSkin = lv_gallSelectedSkinIndex;
libGame_gv_players[lv_gallPlayerID].lv_selectedSkin = lv_gallSelectedSkinIndex;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5916
}
PlayerApplySkin(lp_player, PlayerSkin(lp_player), true);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:7587
}
lv_skinLink = PlayerSkin(lv_itPlayer);
if ((lv_skinLink == libCore_gv_heroes_RandomSkinID)) {
libGame_gf_HeroSelectionRandomlyPickSkin(lv_itPlayer);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:1247
lv_value = "";
lv_hero = PlayerHero(lp_player);
lv_skin = PlayerSkin(lp_player);
// Implementation
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:393
if ((lp_killVOLine != null)) {
SoundPlayForPlayer(SoundLink(lp_killVOLine, c_soundIndexAny), lp_speakingPlayer, libCore_gv_playerGroupFromPlayer[lp_killingPlayer], 100.0, 0.0);
lv_playerSkinString = (PlayerSkin(lp_speakingPlayer));
lv_soundString = (lp_killVOLine);
lv_soundStringSkin = (lv_soundString + "_" + lv_playerSkinString);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:2933
auto288FD252_var = PlayerGroupNextPlayer(auto288FD252_g, auto288FD252_var);
if (auto288FD252_var<0) { break; }
if (((PlayerStatus(auto288FD252_var) != c_playerStatusUnused) && (PlayerSkin(auto288FD252_var) != libGame_gv_players[auto288FD252_var].lv_skinData.lv_skinID))) {
PlayerSetSkin(auto288FD252_var, libGame_gv_players[auto288FD252_var].lv_skinData.lv_skinID);
}