Random skin problems!
#1

The problem : for example , the skin 5 for "masculine = men ' don't are in the list , but keep giving to players..

what's the problem ? i want ONLY the skins from the list not any else...

Code:
new skinurimasculine[][11] = {
{1},
{2},
{3},
{6},
{7},
{21},
{22},
{23},
{291},
{292},
{42}
};
new skinurifeminine[][11] = {
{11},
{40},
{41},
{55},
{56},
{69},
{151},
{169},
{191},
{193},
{195}
};
OnRegister:
Code:
		if(PlayerInfo[playerid][Sex] == 1)
		{
                new skinmasculin;
			    skinmasculin = random(sizeof(skinurimasculine));
			    SetPlayerSkin(playerid, skinmasculin);
			    PlayerInfo[playerid][pSkin] = skinmasculin;
		}
	    else if(PlayerInfo[playerid][Sex] == 2)
		{
			    new skinfeminin;
			    skinfeminin = random(sizeof(skinurifeminine));
			    SetPlayerSkin(playerid, skinfeminin);
			    PlayerInfo[playerid][pSkin] = skinfeminin;
		}
Reply


Messages In This Thread
Random skin problems! - by Metharon - 14.05.2014, 04:44
Re: Random skin problems! - by biker122 - 14.05.2014, 05:10
Re: Random skin problems! - by Scottas - 14.05.2014, 05:14

Forum Jump:


Users browsing this thread: 1 Guest(s)