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].
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(playerid, teami);
? ? ? ? ? ? playerwarinv[playerid] = 1;
? ? ? ? ? ? inv_timer[playerid] = SetTimerEx("killinv", 179000, false, "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(playerid, FactionInfo[playerid][FSkin1]);
? ? ? ? ? ? ? ? ?PlayerInfo[playerid][Skin] = FactionInfo[playerid][FSkin1];
? ? ? ? ? ? ?}
}