• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Skins won't get changed.
#2
Are you receiving the message "Your skin has been changed..."?



Does FactionInfo[playerid][FSkin1] actually hold the correct skin ID you are trying to set?

Code:
SendClientError(playerid, "Your skin has been changed because you don't have current faction ones.");

SetPlayerSkin(playerid, FactionInfo[playerid][FSkin1]);

PlayerInfo[playerid][Skin] = FactionInfo[playerid][FSkin1];

printf("Skin set to ID %i", FactionInfo[playerid][FSkin1]);



Looking at how you interact with PlayerInfo and FactionInfo array, I would suspect you are actually trying to set the skin from the value stored in

Code:
FactionInfo[PlayerInfo[playerid][playerteam]][FSkin1]



What is iTier?
  Reply


Messages In This Thread
Skins won't get changed. - by Axitz - 2021-04-05, 05:37 AM
RE: Skins won't get changed. - by Bakr - 2021-04-05, 05:51 AM
RE: Skins won't get changed. - by Axitz - 2021-04-05, 05:55 AM
RE: Skins won't get changed. - by Bakr - 2021-04-05, 06:01 AM
RE: Skins won't get changed. - by Axitz - 2021-04-05, 06:09 AM

Forum Jump: