Array indexes
#5

Quote:
Originally Posted by linuxthefish
View Post
Array indexes, they are faster and use up less memory. (Someone told me that a while ago, idk if it will be true in your context.)
Okay thanks. But is it possible to switch between array indexes?

Example:
pawn Code:
switch (vehicle[2]) // this won't work for some reason.. only case 2 will be called :/.
{
     case 0:
     {
           //??
     }
     case 1:
     {
          //??
     }
// and so on..
}
Reply


Messages In This Thread
Array indexes - by The Woody - 11.06.2011, 21:11
Re: Array indexes - by Bmxerlmao5288 - 11.06.2011, 21:16
Re: Array indexes - by The Woody - 11.06.2011, 22:19
Re: Array indexes - by linuxthefish - 11.06.2011, 22:25
Re: Array indexes - by The Woody - 11.06.2011, 23:05

Forum Jump:


Users browsing this thread: 1 Guest(s)