16.10.2010, 23:07
There's no need for enum there, just an array with values inserted
Then you would select a random cell in the Skins array and use the integer stored there for the skin ID.
pawn Код:
new Skins[4] = {
skin1,
skin2,
skin3
};
pawn Код:
SetPlayerSkin(playerid, Skins[random(sizeof(Skins)]);