Error 048: array dimensions do not match
#1

pawn Код:
CMD:car(playerid, params[])
{
    if(!LoggedIn[playerid]) return true;
   
    new Float:dist = 5.0;
   
    new count = 0, test[MAX_CARS], desc[MAX_CARS][32], h = PlayerCar[playerid], Float:x, Float:y, Float:z;
    for(new f = 0; f < MAX_CARS; f++)
    {
        if(CarData[h][CarModel][f] > 400 && CarData[h][CarSpawned][f] == 1)
        {
            GetVehiclePos(CarData[h][CarVID][f], x, y, z);
            if(IsPlayerInRangeOfPoint(playerid, dist, x, y, z))
            {
                test[count] = CarData[h][CarModel][f];
                format(desc[count], 32, "%s", GetVehicleName(CarData[h][CarModel][f]));
                count++;
            }
        }
    }

    if(count > 0)
    {
        ShowModelSelectionMenuEx(playerid, desc, count, "Select Car", MODEL_SELECTION_SCAR, 0.0, 0.0, 90.0);
        carRadius[playerid] = dist;
    }
    return true;
}
Please can someone assist with this issue please?

LINE 27076: ShowModelSelectionMenuEx(playerid, desc, count, "Select Car", MODEL_SELECTION_SCAR, 0.0, 0.0, 90.0);
Reply


Messages In This Thread
Error 048: array dimensions do not match - by RedCounty - 04.03.2017, 19:45
Re: Error 048: array dimensions do not match - by JessThompson - 04.03.2017, 20:07
Re: Error 048: array dimensions do not match - by RedCounty - 04.03.2017, 20:24
Re: Error 048: array dimensions do not match - by Toroi - 04.03.2017, 20:46

Forum Jump:


Users browsing this thread: 1 Guest(s)