27.10.2012, 11:18
Heres what you need to do
What this does is create a variable and generates a pseudo-random number out of it.
If the number is 0 skin 265 is applied and so on..
pawn Код:
new rand = random(6)//change it to the number of skins you want
switch(rand)
{
case 0: SetPlayerSkin(playerid, 265);
case 1: SetPlayerSkin(playerid, 266);
case 2: SetPlayerSkin(playerid, 267);
case 3: SetPlayerSkin(playerid, 280);
case 4: SetPlayerSkin(playerid, 281);
case 5: SetPlayerSkin(playerid, 282);
}
If the number is 0 skin 265 is applied and so on..