30.11.2009, 17:31
pawn Код:
public SetPlayerSkinRandom() //there were no (). That was causing the crash
{
new rand = random(sizeof(gSkins));
SetPlayerSkin(playerid, gSkins[rand]);
}
pawn Код:
new Float:gSkins[12] = { 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 105};