03.01.2015, 17:27
Create a structure using enum and classify it like this:
pawn Код:
enum RandomCarSpawnStruct
{
e_RandCarModel,
Float:e_RandCarPos[4],
e_RandCarCol1, //Or create it as an array.
e_RandColCol2,
}
new
RandomCarSpawns[MAX_RANDOM_VEHICLES][RandomCarSpawnStruct] =
{
{model, {positionX, positionY, positionZ, angle}, col1, col2},
{model2, {...}, col1, col2}
};