• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Skins won't get changed.
#1
Hi,

I'm not sure whats wrong with it. I tried multiple ways to fix this problem but it keep sending me same messages.
It compiled without errors and warnings.

Whenever this system trigged on my server, it keep changing the skin to CJ skins not the one I set in [FSkins1].

PHP Code:
if(PlayerInfo[playerid][playerteam] == faction1 || PlayerInfo[playerid][playerteam] == faction2)
{
? ? ? ? ? ? ?new 
teami maskid[playerid];
? ? ? ? ? ? 
SetPlayerTeam(playeridteami);
? ? ? ? ? ? 
playerwarinv[playerid] = 1;
? ? ? ? ? ? 
inv_timer[playerid] = SetTimerEx("killinv"179000false"i"playerid);
? ? ? ? ? ? if(
iTier != FactionInfo[playerid][FSkin1])
? ? ? ? ? ? {
? ? ? ? ? ? ? ? ?
//new warskin = FactionInfo[playerid][FSkin1];
                 
SendClientError(playerid"Your skin has been changed because you don't have current faction ones.");
? ? ? ? ? ? ? ? ?
SetPlayerSkin(playeridFactionInfo[playerid][FSkin1]);
? ? ? ? ? ? ? ? ?
PlayerInfo[playerid][Skin] = FactionInfo[playerid][FSkin1];
? ? ? ? ? ? ?}

  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: