23.11.2010, 17:18
pawn Код:
new RandomMove[5][1] =
{
{"Library", "Anim Name"},
{"Library", "Anim Name"},
{"Library", "Anim Name"},
{"Library", "Anim Name"},
{"Library", "Anim Name"}
};
pawn Код:
new rAnim = random( sizeof ( RandomMoves ) );
ApplyAnimation(playerid, RandomMove[rAnim][0], RandomMove[rAnim][1], 4.1, 0, 1, 1, 1, 1);
I think this might work.