[help] three-dimensional array new Float:RaceCP[2][24][3] = {
#5

Quote:
Originally Posted by paytas
U should create 1 array for 1 race, or use a 2d array and som index to know where a race is in that array.
then I need to create this:

if(currentrace == 1)
{
SetRaceCP(Race1CP[...][...])
}
else if(currentrace == 2)
{
SetRaceCP(Race2CP[...][...])
}
else if(currentrace == 3)
{
SetRaceCP(Race3CP[...][...])
}

now I can simply do:
SetRaceCP(RaceCP[currentrace][...][...])
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)