30.12.2012, 13:35
Random skins:
pawn Код:
new RandSkin[][] =
{
144, 145, 146, 147, 148 // On script's top. Here are the skins number you want to randomize.
};
public OnPlayerSpawn(playerid) // You may change it for any callback you want
{
new rand = random(sizeof(RandSkin));
SetPlayerSkin(playerid, rand);
return 1;
}