#1

I want an array to store the default carcolors, so if I did carcol[400][1][0] it would give me the first color of the second carcolor for the landstalker.

I have a rough idea how to do it, but it need some help.
Reply
#2

i think you must take all lines as strings and rewrite a file...but without 1 line
Reply
#3

Quote:
Originally Posted by Om3n
i think you must take all lines as strings and rewrite a file...but without 1 line
What does that have to do with this topic?

Ontopic:
You are confusing me here.

So, firstly there is the vehicle id, then the primary color, and then the secondary color?
Reply
#4

sorry...i was write it to wrong topic
Reply
#5

Yes so like

array[blabla]
{color 1, color, 2},
{color 1, color 2} // Land stalker

etc.
Reply
#6

pawn Код:
new CarStuff[][3] =
{
 // Car, Color1, Color2
  {400, 1, 0},//Landstalker in black and white.
  {401, 1, 0}, //Bravura in black and white
  //So on...
}


Reply
#7

Quote:
Originally Posted by [HiC
TheKiller ]
pawn Код:
new CarStuff[][3] =
{
 // Car, Color1, Color2
  {400, 1, 0},//Landstalker in black and white.
  {401, 1, 0}, //Bravura in black and white
  //So on...
}
Please don't post if you don't know.

I want an array to store the default carcolors so I can set them randomly.

So if I wanted random carcolors for a landstalker (EXAMPLE) i could do this:

carcol[400][random(5)][0], carcol[400][random(5)][1]
Reply
#8

Quote:
Originally Posted by Mikep.
Quote:
Originally Posted by [HiC
TheKiller ]
pawn Код:
new CarStuff[][3] =
{
 // Car, Color1, Color2
  {400, 1, 0},//Landstalker in black and white.
  {401, 1, 0}, //Bravura in black and white
  //So on...
}
Please don't post if you don't know.

I want an array to store the default carcolors so I can set them randomly.

So if I wanted random carcolors for a landstalker (EXAMPLE) i could do this:

carcol[400][random(5)][0], carcol[400][random(5)][1]
Then you should be more specific, yelling at people because of your failure to describe what you want isn't what is going to get your result.
Reply
#9

Quote:
Originally Posted by Calon
yelling at people
I never yelled at anybody. All of my posts in this topic have been calm.
Reply
#10

Bump... Anyone..?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)