15.07.2015, 11:36
For 351 :
You need to delete vehPlate and vehOwner cuz u didn't used 'em .
pawn Код:
stock CreateVehicleEx(vehModel, Float:vehPark[4], vehColor1, vehColor2)// LINE 351
{
new vehID = GetAvailableVehicleID();
VehicleData[vehID][vModel] = vehModel;
VehicleData[vehID][vPark] = vehPark;
VehicleData[vehID][vColor1] = vehColor1;
VehicleData[vehID][vColor2] = vehColor2;
format(VehicleData[vehID][vOwner], MAX_PLAYER_NAME, vehOwner);// LINE 358
format(VehicleData[vehID][vPlate], MAX_NUMBER_PLATE, vehPlate);// LINE 359
VehicleData[vehID][vID] = CreateVehicle(vehModel, vehPark[0], vehPark[1], vehPark[2], vehPark[3], vehColor1, vehColor2, -1);
SetVehicleNumberPlate(vehID, vehPlate);// LINE 361
SetVehicleToRespawn(vehID);
vCreated[vehID] = true;
return vehID;
}