Simple question with id assignments
#1

Ok i have this function

pawn Код:
enum MissionPointInfo
{
    Name[30],
    Float:X,
    Float:Y,
    Float:Z
}
new MissionPoint[][MissionPointInfo] =
{
    {"LVA Freight", 1701.9475, 940.5465, 10.8203},
    {"LV Church", 1496.2524, 772.1427, 10.8203},
    {"Shody Used Autos", 1727.6351, 1812.1750, 10.8203}
};
So my question is, is the line for LVA Freight Id 0 or 1?

Like, would i use MissionPoint[0][Name] to get the name "LVA Freight" or MissionPoint[1][Name] to get it?
Reply


Messages In This Thread
Simple question with id assignments - by Rokzlive - 24.01.2012, 19:01
Re: Simple question with id assignments - by milanosie - 24.01.2012, 19:03
Re: Simple question with id assignments - by [XST]O_x - 24.01.2012, 19:03
Re: Simple question with id assignments - by Rokzlive - 24.01.2012, 19:06

Forum Jump:


Users browsing this thread: 3 Guest(s)