Select male>Female skin Seclect female>Remale skin
#1

Well when my player pick male they will spawn with a female skin and the feamle is fine how do I fix the skin for the male when he spawns?

Alos here is the spawn

Код:
   if(dialogid == DIALOG_SPAWN)
    {
		if(response || !response)
		{
			
			for(new x;x<10000;x++)
						{
							new rand=random(300);
							if(PlayerInfo[playerid][pSex] == 0)
							{
								if(IsValidSkin(rand))
								{
									PlayerInfo[playerid][pModel] = rand;
									SetPlayerSkin(playerid, rand);
									break;
								}
							}
							else
							{
								if(IsFemaleSkin(rand))
								{
									PlayerInfo[playerid][pModel] = rand;
									SetPlayerSkin(playerid, rand);
									break;
								}
							}
						}
Reply
#2

This part if(response || !response) ?
Reply
#3

Any more help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)