26.12.2010, 11:51
im having this argument problem
then the GetVehicleIDFromName is:
pawn Код:
format(string,sizeof(string),"%s",GetVehicleModelIDFromName(vehicleid));
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. |