Problem with y_vehicledata
#1

Hello, I have a problem with the include of ******.

Compiler error:
Код:
error 017: undefined symbol "_Vehicle_Validate"
Maybe I'm not using the right method?

pawn Код:
stock getMaxGasolineFromVehicleid(vehicleid)
{
    new category = Vehicle_GetCategory(vehicleid);
    switch(category)
    {
        case CATEGORY_AIRPLANE: return 30;
        case CATEGORY_HELICOPTER: return 30;
        case CATEGORY_BIKE: return 200;
        case CATEGORY_CONVERTIBLE: return 110;
        case CATEGORY_INDUSTRIAL: return 60;
        case CATEGORY_LOWRIDER: return 144;
        case CATEGORY_OFFROAD: return 90;
        case CATEGORY_PUBLIC: return 100;
        case CATEGORY_SALOON: return 144;
        case CATEGORY_SPORT: return 110;
        case CATEGORY_BOAT: return 90;
        case CATEGORY_UNIQUE: return 100;
    }
    return 1;
}
AND

pawn Код:
stock getMaxGasolineFromVehicleid(vehicleid)
{

    new VIM:vim = Vehicle_GetVIM(vehicleid);
    switch(VIM_GetCategory(vim))
    {
        case CATEGORY_AIRPLANE: return 30;
        case CATEGORY_HELICOPTER: return 30;
        case CATEGORY_BIKE: return 200;
        case CATEGORY_CONVERTIBLE: return 110;
        case CATEGORY_INDUSTRIAL: return 60;
        case CATEGORY_LOWRIDER: return 144;
        case CATEGORY_OFFROAD: return 90;
        case CATEGORY_PUBLIC: return 100;
        case CATEGORY_SALOON: return 144;
        case CATEGORY_SPORT: return 110;
        case CATEGORY_BOAT: return 90;
        case CATEGORY_UNIQUE: return 100;
    }
    return 1;
}
Reply


Messages In This Thread
Problem with y_vehicledata - by TheArrow - 03.01.2015, 20:38
Re : Problem with y_vehicledata - by TheArrow - 04.01.2015, 10:51
Re : Problem with y_vehicledata - by TheArrow - 04.01.2015, 13:06
Re : Problem with y_vehicledata - by TheArrow - 04.01.2015, 15:39

Forum Jump:


Users browsing this thread: 1 Guest(s)