12.07.2011, 09:19
Try this:
pawn Код:
#define MAX_RANDOM_SKINS 10
new s_randon_skins[MAX_RANDOM_SKINS] = {23, 112, 36, 110, 206};
pawn Код:
public OnPlayerSpawn(playerid) {
SetPlayerSkin(playerid, s_randon_skins[random(MAX_RANDOM_SKINS)]);
return 1;
}