Loop issue
#1

I've got this:

pawn Код:
new skins[315];
for(new i = 0; i < 311; i++){
    if(IsSkinAvailable(i) && IsValidSkin(i)){
        skins[i] = i;
    }
}
   
setClothingPosition(playerid);
ShowModelSelectionMenuEx(playerid, skins, 311, "Buy Clothing", CUSTOM_SKIN_MENU, 0.0, 0.0, 0.0, 1.0, 0x00000066, 0x39393833, 0x39393833);
But for some reason, it's showing a LOT of CJ skins. - Here:

Anyone able to help?
Reply


Messages In This Thread
Loop issue - by RedCounty - 25.05.2016, 14:17
Re: Loop issue - by ilijap - 25.05.2016, 14:23
Re: Loop issue - by RedCounty - 25.05.2016, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)