Array with float and integer ?
#2

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}
};
Reply


Messages In This Thread
Array with float and integer ? - by DiamantEspace18 - 03.01.2015, 17:22
Re: Array with float and integer ? - by Lordzy - 03.01.2015, 17:27
AW: Array with float and integer ? - by CutX - 03.01.2015, 17:32
Re : Array with float and integer ? - by DiamantEspace18 - 03.01.2015, 17:44
Re: Array with float and integer ? - by dominik523 - 03.01.2015, 17:45
Re : Array with float and integer ? - by DiamantEspace18 - 03.01.2015, 17:48
AW: Re: Array with float and integer ? - by CutX - 03.01.2015, 17:53
Re : Array with float and integer ? - by DiamantEspace18 - 03.01.2015, 18:05
Re: Array with float and integer ? - by Mauzen - 03.01.2015, 18:19
Re : Array with float and integer ? - by DiamantEspace18 - 03.01.2015, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)