Not selected skin saves me.
Could you please re-word your situation? Is your skin not saving to your player? If not, show us your code where you have it saving your skin, please.
Well, you would have to have a basic knowledge of scripting to find the line. If you want to learn how to script, you should start in the tutorial section.
Well, it's difficult to help you when you cannot find where skins save are at. There is typically a function for it which you need to know at least the basics to isolate. :/
pawn Code:
public OnPlayerSpawn(playerid)
{
// TextDrawShowForPlayer(playerid, Time), TextDrawShowForPlayer(playerid, Date);
SetPlayerVirtualWorld(playerid,0);
PlayerInfo[playerid][pVirWorld] = 0;
PlayerInfo[playerid][pEventCtT] = 0;
// ConBandana[playerid] = 0;
RemovePlayerAttachedObject(playerid, SlotObjeto);
/* TextDrawHideForPlayer(playerid, Textdraw100);
TextDrawHideForPlayer(playerid, Textdraw101);
TextDrawHideForPlayer(playerid, Textdraw102);
TextDrawHideForPlayer(playerid, Textdraw103);
TextDrawHideForPlayer(playerid, Textdraw104);
TextDrawHideForPlayer(playerid, Textdraw105);
TextDrawHideForPlayer(playerid, Textdraw106);
TextDrawHideForPlayer(playerid, Textdraw107);
TextDrawHideForPlayer(playerid, Textdraw108);
TextDrawHideForPlayer(playerid, Textdraw109);
TextDrawHideForPlayer(playerid, Textdraw110);
TextDrawHideForPlayer(playerid, Textdraw111);
TextDrawHideForPlayer(playerid, Textdraw112);
TextDrawHideForPlayer(playerid, Textdraw113);
TextDrawHideForPlayer(playerid, Textdraw114);*/
if(WarInfo[pWarOn]==1)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
}
for(new i=0; i < sizeof(ZoneInfo); i++)
{
new leadername[MAX_PLAYER_NAME];
GetPlayerName(playerid,leadername,128);
if(togzones[playerid] == 1)
{
GangZoneShowForPlayer(playerid, Zones[i], GetTeamZoneColor(ZoneInfo[i][zTeam]));
if(ZoneInfo[i][zTakeOn] == 1 && takezone == 1) GangZoneFlashForPlayer(playerid, i, COLOR_RED);
SetTimer("ShowZones",3000,0);
}
if(PlayerInfo[playerid][pLeader]==12 && ZoneInfo[i][zTeam] == 12)
{
strmid(ZoneInfo[i][zOwner],leadername,0,strlen(leadername),255);
SaveZones();
}
else if(PlayerInfo[playerid][pLeader]==13 && ZoneInfo[i][zTeam] == 13)
{
strmid(ZoneInfo[i][zOwner],leadername,0,strlen(leadername),255);
SaveZones();
}
else if(PlayerInfo[playerid][pLeader]==14 && ZoneInfo[i][zTeam] == 14)
{
strmid(ZoneInfo[i][zOwner],leadername,0,strlen(leadername),255);
SaveZones();
}
else if(PlayerInfo[playerid][pLeader]==15 && ZoneInfo[i][zTeam] == 15)
{
strmid(ZoneInfo[i][zOwner],leadername,0,strlen(leadername),255);
SaveZones();
}
else if(PlayerInfo[playerid][pLeader]==16 && ZoneInfo[i][zTeam] == 16)
{
strmid(ZoneInfo[i][zOwner],leadername,0,strlen(leadername),255);
SaveZones();
}
else if(PlayerInfo[playerid][pLeader]==17 && ZoneInfo[i][zTeam] == 17)
{
strmid(ZoneInfo[i][zOwner],leadername,0,strlen(leadername),255);
SaveZones();
}
}
PlayerInfo[playerid][SpawnAngle] = 0.0; //so when you leave and another player comes, the camera will start from start
PlayerInfo[playerid][SpawnDance] = true; //to not execute to much timers
KillTimer( PlayerInfo[playerid][SpawnTimer] ); //to kill it, since its useless now
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0); // (blank sound) to shut the music up
SetCameraBehindPlayer(playerid); //to prevent some bugs
/*if(MapIconsShown[playerid] != 1)
{
MapIconsShown[playerid] = 1;
for(new i = 0; i < sizeof(BizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 1,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ],36,COLOR_LIGHTRED);
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 20,SBizzInfo[i][sbEntranceX],SBizzInfo[i][sbEntranceY],SBizzInfo[i][sbEntranceZ],36,COLOR_LIGHTRED);
}
}*/
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
gTeam[playerid] = 2;
PlayerInfo[playerid][pTeam] = 2;
}
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 200);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 41, 10000);
}
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
{
GivePlayerWeapon(playerid, 8, 1);
GivePlayerWeapon(playerid, 24, 200);
}
if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
{
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 24, 200);
}
if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 23, 100);
}
if (PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)
{
GivePlayerWeapon(playerid, 1, 1);
}
if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
{
GivePlayerWeapon(playerid, 43, 200);
}
if( strlen( SpawnInDM[ playerid ] ) < 2 ) //daca marimea la SpawnInDM[ playerid ] este mai mica de 2, nu-l respawnam in DM.
{
//scrieti aici SetPlayerPos, SetPlayerVirtualWorld, SetPlayerFacingAngle, etc., tot ce are legatura cu pozitia care era inainte la spawn.
//exemplu:
SetPlayerPos( playerid, 1529.6,-1691.2,13.3); //seteaza pozitia jucatorului cand nu va fi respawnat in DM
SetPlayerFacingAngle( playerid, 133.33 );
SetPlayerVirtualWorld( playerid, 0 );
}
else if( strlen( SpawnInDM[ playerid ] ) >= 2 ) //daca marimea la SpawnInDM[ playerid ] este mai mare sau egala cu 2, il respawnam in DM, pentru ca sigur a fost setata variabila pentru respawn in DM
{
CallRemoteFunction( "/enterdm", "is", playerid, SpawnInDM[ playerid ] ); //il vom pune pe jucator sa "scrie" comanda DM-ului ( care este retinuta in SpawnInDM[ playerid ] ) pentru a se respawna in DM.
}
//return 1;