Veh problem
#1

im having this argument problem
pawn Код:
format(string,sizeof(string),"%s",GetVehicleModelIDFromName(vehicleid));
then the GetVehicleIDFromName is:
pawn Код:
GetVehicleModelIDFromName(vname[])
{
    for(new i = 0; i < 211; i++)
    {
        if(strfind(aVehicleNames[i], vname, true) != -1)
        return i + 400;
    }
    return -1;
}
Quote:

error 035: argument type mismatch (argument 1)
1 Error.

Reply


Messages In This Thread
Veh problem - by Tessar - 26.12.2010, 11:51
Re: Veh problem - by Calgon - 26.12.2010, 11:56
Re: Veh problem - by Tessar - 26.12.2010, 11:58
Re: Veh problem - by Lorenc_ - 26.12.2010, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)