10.11.2010, 14:41
You could do:
pawn Код:
public FindSkin(gender, skin, price)
{
new skinid;
loop:
skinid = random( 300 );
if ( SkinDB[skinid][Gender] == gender && SkinDB[skinid][Skin] == skin && SkinDB[skinid][Price] == price )
return skinid;
goto loop;
}