Random Animation and SA:MP crashes
#5

5 is correct, it is just the size when you create an array, and so starts with 1

Strings are arrays themself, so you need a 3d array:

pawn Код:
new RandomMove[5][2][24] =
{
    {"Library", "Anim Name"},
    {"Library", "Anim Name"},
    {"Library", "Anim Name"},
    {"Library", "Anim Name"},
    {"Library", "Anim Name"}
};
Edit: You can use the same ApplyAnimation code you used before.
Reply


Messages In This Thread
Random Animation and SA:MP crashes - by sekol - 23.11.2010, 17:14
Re: Random Animation and SA:MP crashes - by Zh3r0 - 23.11.2010, 17:18
Re: Random Animation and SA:MP crashes - by sekol - 23.11.2010, 17:24
Re: Random Animation and SA:MP crashes - by Zh3r0 - 23.11.2010, 17:45
Re: Random Animation and SA:MP crashes - by Mauzen - 23.11.2010, 17:48
Re: Random Animation and SA:MP crashes - by sekol - 23.11.2010, 17:52
Re: Random Animation and SA:MP crashes - by Zh3r0 - 23.11.2010, 17:56
Re: Random Animation and SA:MP crashes - by WillyP - 23.11.2010, 17:57
Re: Random Animation and SA:MP crashes - by sekol - 23.11.2010, 18:00

Forum Jump:


Users browsing this thread: 1 Guest(s)