04.02.2014, 21:55
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
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; } } }